ShopFrontCache class

Implemented types

Constructors

ShopFrontCache(ShopFrontRepository reference)

Properties

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

Methods

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

Operators

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