Driver class

Constructors

Driver(String scope, {void onError(Object? error, StackTrace stack)?, VoidCallback? onFull})

Properties

api ↔ DriveApi?
getter/setter pair
con ↔ InternetConnection
getter/setter pair
gsi ↔ GoogleSignIn?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
internetAvailable bool
getter/setter pair
onError ↔ void Function(Object? error, StackTrace stack)?
getter/setter pair
onFull VoidCallback?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String
getter/setter pair
wd String
getter/setter pair

Methods

changeScope(String scope) Future<bool>
createFile(String filename, {String? mimeType, Map<String, String?>? appProperties, String? description, Stream<List<int>>? data, int? dataLength}) Future<String?>
createFileFromRoot(String filename, {String? mimeType, Map<String, String?>? appProperties, String? description, int initialSizeCheck = 1048576}) Future<String?>
createFileWithParent(String filename, String parentId, {String? mimeType, Map<String, String?>? appProperties, String? description, int initialSizeCheck = 1048576}) Future<String?>
createFolder(String filename, {String? description}) Future<String?>
createFolderFromRoot(String filename, {String? description}) Future<String?>
delete(String id) Future<void>
getContents(String id) Future<Media?>
getFile(String id) Future<File?>
getID(String filename, {String? mimeType, bool createIfMissing = false}) Future<String?>
getIDFromRoot(String filename, {String? mimeType, bool createIfMissing = false}) Future<String?>
hasSpace(int bytesNeeded) Future<bool>
listFiles(String folder) Future<List<File>?>
listFilesFromRoot(String folder) Future<List<File>?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ready() Future<bool>
readySync() bool
setWD(String folder) Future<bool>
toString() String
A string representation of this object.
inherited
trash(String id) Future<bool>
unTrash(String id) Future<bool>
updateContents(String id, Stream<List<int>> data, {Map<String, String?>? appProperties, int? dataLength}) Future<bool>

Operators

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