EtebaseItemManager class

The dart binding of the EtebaseItemManager rust 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

batch(List<EtebaseItem> items, [EtebaseFetchOptions? fetchOptions]) Future<void>
Upload the supplied items to the server
batchDeps(List<EtebaseItem> items, List<EtebaseItem> deps, [EtebaseFetchOptions? fetchOptions]) Future<void>
Upload the supplied items to the server with a list of items as dependencies
cacheLoad(Uint8List cached) Future<EtebaseItem>
Load and return a cached item from a byte buffer
cacheSave(EtebaseItem item) Future<Uint8List>
Save the item object to a byte buffer for caching
cacheSaveWithContent(EtebaseItem item) Future<Uint8List>
Save the item object and its content to a byte buffer for caching
create(EtebaseItemMetadata meta, Uint8List content) Future<EtebaseItem>
Create a new item
createRaw(Uint8List meta, Uint8List content) Future<EtebaseItem>
Create a new item using raw metadata
dispose() Future<void>
Destroy the object
fetch(String itemUid, [EtebaseFetchOptions? fetchOptions]) Future<EtebaseItem>
Fetch a single item from the server using its UID
fetchMulti(List<String> items, [EtebaseFetchOptions? fetchOptions]) Future<EtebaseItemListResponse>
Fetch multiple Items using their UID
fetchUpdates(List<EtebaseItem> items, [EtebaseFetchOptions? fetchOptions]) Future<EtebaseItemListResponse>
Fetch the latest revision of the supplied items from the server and return a list response
itemRevisions(EtebaseItem item, [EtebaseFetchOptions? fetchOptions]) Future<EtebaseItemRevisionsListResponse>
Fetch and return a list response of items with each item as the revision
list([EtebaseFetchOptions? fetchOptions]) Future<EtebaseItemListResponse>
Fetch all items of a collection and return a list response
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
transaction(List<EtebaseItem> items, [EtebaseFetchOptions? fetchOptions]) Future<void>
Upload items using a transaction
transactionDeps(List<EtebaseItem> items, List<EtebaseItem> deps, [EtebaseFetchOptions? fetchOptions]) Future<void>
Upload items using a transaction with a list of items as dependencies

Operators

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