ProductDisplayCache class

Implemented types

Properties

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

Methods

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

Operators

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