AssignmentFirestore class

Implemented types

Constructors

AssignmentFirestore(GetCollection getCollection, String appId)

Properties

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

Operators

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