DBX class

Constructors

DBX({required String accessToken, required String appKey, required String appSecret})

Properties

accessToken String
final
appKey String
final
appSecret String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addTag({required DBX_File dbx_file, required String tag_text}) Future<String>
createFile({required File fileToUpload, required DBX_File fileToCreate, required WriteMode mode, bool autorename = false, DateTime? client_modified, bool mute = false, bool strict_conflict = false}) Future<String>
createFileFromMemory({required List<int> bytes, required DBX_File fileToCreate, required WriteMode mode, bool autorename = false, DateTime? client_modified, bool mute = false, bool strict_conflict = false}) Future<String>
createFolder({required DBX_Directory folderToCreate, bool autoRename = false}) Future<String>
deleteItem({required DBX_Item dbx_item}) Future<String>
downloadEntireFolderAsZip({required DBX_Directory dbx_directory, required File output}) Future<void>
getTags({required List<DBX_File> files}) Future<List<DBX_File>>
getThumbnail({required DBX_File image, ThumbnailSize size = ThumbnailSize.w64h64, ThumbnailFormat format = ThumbnailFormat.jpeg, ThumbnailMode mode = ThumbnailMode.strict}) Future<List<int>>
itemExists({required DBX_Item dbx_item}) Future<bool>
itemMetadata({required DBX_Item dbx_item}) Future<DBX_Item_Metadata?>
list({required DBX_Directory dbx_directory}) Future<List<DBX_Item>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFileAsBytes({required DBX_File dbx_file}) Future<List<int>>
readFileAsString({required DBX_File dbx_file}) Future<String>
removeTag({required DBX_File dbx_file, required String tag_text}) Future<String>
searchContinue({required String cursor}) Future<SearchResults>
Fetches the next page of search results returned from search:2. Note: search:2 along with search/continue:2 can only be used to retrieve a maximum of 10,000 matches. Recent changes may not immediately be reflected in search results due to a short delay in indexing. Duplicate results may be returned across pages. Some results may not be returned.
toString() String
A string representation of this object.
inherited

Operators

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