AccessFirestore class

Implemented types

Constructors

AccessFirestore(GetCollection getCollection, String appId)

Properties

accessCollection → CollectionReference<Object?>
final
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

Methods

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

Operators

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