ProductRepository class abstract

Inheritance
Implementers

Constructors

ProductRepository()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(ProductModel value) Future<ProductModel>
override
addEntity(String documentID, ProductEntity value) Future<ProductEntity>
override
changeValue(String documentId, String fieldName, num changeByThisValue) Future<ProductModel?>
override
delete(ProductModel value) Future<void>
override
deleteAll() Future<void>
override
flush() → void
override
fromMap(Object? o, {Map<String, String>? newDocumentIds}) ProductEntity?
inherited
get(String? id, {dynamic onError(Exception)?}) Future<ProductModel?>
override
getEntity(String? id, {dynamic onError(Exception)?}) Future<ProductEntity?>
inherited
getSubCollection(String documentId, String name) → dynamic
override
listen(ProductModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery}) StreamSubscription<List<ProductModel?>>
override
listenTo(String documentId, ProductChanged changed, {ProductErrorHandler? errorHandler}) StreamSubscription<ProductModel?>
override
listenWithDetails(ProductModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery}) StreamSubscription<List<ProductModel?>>
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(ProductModel value) Future<ProductModel>
override
updateEntity(String documentID, ProductEntity value) Future<ProductEntity>
override
values({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<List<ProductModel?>>
override
valuesList({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Future<List<ProductModel?>>
override
valuesListWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Future<List<ProductModel?>>
override
valuesWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<List<ProductModel?>>
override

Operators

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