MemberCartCache class

Implemented types

Constructors

MemberCartCache(MemberCartRepository reference)

Properties

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

Methods

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

Operators

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