YandexDiskApi class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyDiskResource({required String from, required String path, String? fields, bool? forceAsync, bool? overwrite})
→ Future<Link>
-
Copy the file or the folder.
-
createDiskResource({required String path, String? fields})
→ Future<Link>
-
Create the folder.
See: https://yandex.ru/dev/disk/api/reference/create-folder.html
-
deleteDiskResource({required String path, String? fields, bool? forceAsync, String? md5, bool? permanently})
→ Future<void>
-
Delete the file ot the folder.
-
downloadDiskResource({required String path, String? fields})
→ Future<List<int>>
-
Download the file.
-
moveDiskResource({required String from, required String path, String? fields, bool? forceAsync, bool? overwrite})
→ Future<Link>
-
Move the file or the folder.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
readDisk({String? fields})
→ Future<Disk>
-
Read user's disk data.
-
readDiskOperation({required String operationId, String? fields})
→ Future<OperationStatus>
-
Read the status of the operation.
-
readDiskResource({required String path, String? fields, int? limit, int? offset, bool? previewCrop, String? previewSize, String? sort})
→ Future<Resource>
-
Read the meta information about the file or the folder.
-
readDiskResourceFiles({String? fields, int? limit, String? mediaType, int? offset, bool? previewCrop, String? previewSize, String? sort})
→ Future<FilesResourceList>
-
Read the flattened list of all files.
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateAccessToken(String accessToken)
→ void
-
-
updateDiskResourceInfo({required String path, String? fields, Map? customProperties})
→ Future<Resource>
-
Update the meta information of the file or the folder.
-
uploadDiskResource({required String path, required List<int> binaryData, String? fields, bool? overwrite})
→ Future<void>
-
Upload the file.