StorageCollection class

Implementers

Constructors

StorageCollection(StorageDatabase storageDatabase, String collectionId, {StorageCollection? parent})

Properties

collectionId String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
parent StorageCollection?
getter/setter pair
path String
no setter
randomStreamId String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storageDatabase StorageDatabase
final
storageListeners → StorageListeners
no setter

Methods

collection(String collectionId) StorageCollection
delete({bool log = true}) Future<bool>
deleteItem(dynamic itemId, {bool log = true}) Future<bool>
get({String? streamId}) Future
getCollections() Future<Map<dynamic, StorageCollection>>
getMapCollections(dynamic data) Map<dynamic, StorageCollection>
hasCollectionId(dynamic docId) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(dynamic data, {bool log = true, bool keepData = true}) Future
stream({dynamic delayCheck = const Duration(milliseconds: 50)}) Stream
streamDocs() Stream<Map<dynamic, StorageCollection>>
toString() String
A string representation of this object.
inherited

Operators

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