PayCache class

Implemented types

Constructors

PayCache(PayRepository reference)

Properties

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

Methods

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

Operators

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

Static Methods

refreshRelations(PayModel model) Future<PayModel>