DriveApiService class Services

A service for interacting with Google Drive.

The functions are distributed over mixins to keep the code organized. The mixins for this class are:

Mixed in types

Constructors

DriveApiService(Future<DriveApi> driveClient)

Properties

driveApi Future<DriveApi>
latefinalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetchFilesFromFolder(String folderId, ResourceType type) Future<List<DriveNode>>
Fetch all files from the folder with the given folderId.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
uploadMultipleFiles(List<XFile> files, String folderId, String driveId, VoidCallback? onDone, void onError(String)?) Future<void>
Upload multiple files to the folder with the given folderId.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited