DividerCache class

Implemented types

Constructors

DividerCache(DividerRepository reference)

Properties

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

Methods

add(DividerModel value) Future<DividerModel>
Add a DividerModel to the repository, cached
override
addEntity(String documentID, DividerEntity value) Future<DividerEntity>
Add a DividerEntity to the repository, cached
override
changeValue(String documentId, String fieldName, num changeByThisValue) Future<DividerModel>
override
delete(DividerModel value) Future<void>
Delete a DividerModel from the repository, cached
override
deleteAll() Future<void>
override
flush() → void
override
fromMap(Object? o, {Map<String, String>? newDocumentIds}) DividerEntity?
override
get(String? id, {dynamic onError(Exception)?}) Future<DividerModel?>
Retrieve a DividerModel with it's id, cached
override
getEntity(String? id, {dynamic onError(Exception p1)?}) Future<DividerEntity?>
override
getSubCollection(String documentId, String name) → dynamic
override
listen(DividerModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery}) StreamSubscription<List<DividerModel?>>
override
listenTo(String documentId, DividerChanged changed, {DividerErrorHandler? errorHandler}) StreamSubscription<DividerModel?>
override
listenWithDetails(DividerModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery}) StreamSubscription<List<DividerModel?>>
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(DividerModel value) Future<DividerModel>
Update a DividerModel
override
updateEntity(String documentID, DividerEntity value) Future<DividerEntity>
Update a DividerEntity in the repository, cached
override
values({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<List<DividerModel?>>
Retrieve list of List<DividerModel?>
override
valuesList({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Future<List<DividerModel?>>
override
valuesListWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Future<List<DividerModel?>>
override
valuesWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<List<DividerModel?>>
override

Operators

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

Static Methods

refreshRelations(DividerModel model) Future<DividerModel>