MemberCache class

Implemented types

Constructors

MemberCache(MemberRepository reference)

Properties

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

Methods

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

Operators

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

Static Methods

refreshRelations(MemberModel model) Future<MemberModel>