DynamicWidgetCache class

Implemented types

Properties

fullCache Map<String?, DynamicWidgetModel?>
final
hashCode int
The hash code for this object.
no setterinherited
reference DynamicWidgetRepository
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(DynamicWidgetModel value) Future<DynamicWidgetModel>
Add a DynamicWidgetModel to the repository, cached
override
addEntity(String documentID, DynamicWidgetEntity value) Future<DynamicWidgetEntity>
Add a DynamicWidgetEntity to the repository, cached
override
changeValue(String documentId, String fieldName, num changeByThisValue) Future<DynamicWidgetModel>
override
delete(DynamicWidgetModel value) Future<void>
Delete a DynamicWidgetModel from the repository, cached
override
deleteAll() Future<void>
override
flush() → void
override
fromMap(Object? o, {Map<String, String>? newDocumentIds}) DynamicWidgetEntity?
override
get(String? id, {dynamic onError(Exception)?}) Future<DynamicWidgetModel?>
Retrieve a DynamicWidgetModel with it's id, cached
override
getEntity(String? id, {dynamic onError(Exception p1)?}) Future<DynamicWidgetEntity?>
override
getSubCollection(String documentId, String name) → dynamic
override
listen(DynamicWidgetModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery}) StreamSubscription<List<DynamicWidgetModel?>>
override
listenTo(String documentId, DynamicWidgetChanged changed, {DynamicWidgetErrorHandler? errorHandler}) StreamSubscription<DynamicWidgetModel?>
override
listenWithDetails(DynamicWidgetModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery}) StreamSubscription<List<DynamicWidgetModel?>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
timeStampToString(dynamic timeStamp) String?
override
toString() String
A string representation of this object.
inherited
update(DynamicWidgetModel value) Future<DynamicWidgetModel>
Update a DynamicWidgetModel
override
updateEntity(String documentID, DynamicWidgetEntity value) Future<DynamicWidgetEntity>
Update a DynamicWidgetEntity in the repository, cached
override
values({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<List<DynamicWidgetModel?>>
Retrieve list of List<DynamicWidgetModel?>
override
valuesList({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Future<List<DynamicWidgetModel?>>
override
valuesListWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Future<List<DynamicWidgetModel?>>
override
valuesWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<List<DynamicWidgetModel?>>
override

Operators

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