AssignmentCache class

Implemented types

Constructors

AssignmentCache(AssignmentRepository reference)

Properties

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

Methods

add(AssignmentModel value) Future<AssignmentModel>
Add a AssignmentModel to the repository, cached
override
addEntity(String documentID, AssignmentEntity value) Future<AssignmentEntity>
Add a AssignmentEntity to the repository, cached
override
changeValue(String documentId, String fieldName, num changeByThisValue) Future<AssignmentModel>
override
delete(AssignmentModel value) Future<void>
Delete a AssignmentModel from the repository, cached
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?>
Retrieve a AssignmentModel with it's id, cached
override
getEntity(String? id, {dynamic onError(Exception p1)?}) 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>
Update a AssignmentModel
override
updateEntity(String documentID, AssignmentEntity value) Future<AssignmentEntity>
Update a AssignmentEntity in the repository, cached
override
values({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<List<AssignmentModel?>>
Retrieve list of 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