OrderItemCache class

Implemented types

Constructors

OrderItemCache(OrderItemRepository reference)

Properties

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

Methods

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

Operators

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