ShopFirestore class

Implemented types

Constructors

ShopFirestore(GetCollection getCollection, String appId)

Properties

appId String
final
getCollection → GetCollection
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shopCollection → CollectionReference<Object?>
final

Methods

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

Operators

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