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:
- FetchFunctions: Contains functions for fetching files.
- UploadFunctions: Contains functions for uploading files.
- Mixed in types
Constructors
-
DriveApiService(Future<
DriveApi> driveClient)
Properties
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
filesto the folder with the givenfolderId.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited