TutorialCache class Null safety

Implemented types

Constructors

TutorialCache(TutorialRepository reference)

Properties

fullCache Map<String?, TutorialModel?>
final
hashCode int
The hash code for this object. [...]
read-only, inherited
reference TutorialRepository
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

add(TutorialModel value) → dynamic
Add a TutorialModel to the repository, cached
override
addEntity(String documentID, TutorialEntity value) → dynamic
Add a TutorialEntity to the repository, cached
override
changeValue(String documentId, String fieldName, num changeByThisValue) → dynamic
override
delete(TutorialModel value) → dynamic
Delete a TutorialModel from the repository, cached
override
deleteAll() → dynamic
override
flush() → void
override
fromMap(Object? o, {Map<String, String>? newDocumentIds}) TutorialEntity?
override
get(String? id, {dynamic onError(Exception)?}) → dynamic
Retrieve a TutorialModel with it's id, cached
override
getEntity(String? id, {dynamic onError(Exception p1)?}) → dynamic
override
getSubCollection(String documentId, String name) → dynamic
override
listen(TutorialModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery}) StreamSubscription<List<TutorialModel?>>
override
listenTo(String documentId, TutorialChanged changed, {TutorialErrorHandler? errorHandler}) StreamSubscription<TutorialModel?>
override
listenWithDetails(TutorialModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery}) StreamSubscription<List<TutorialModel?>>
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(TutorialModel value) → dynamic
Update a TutorialModel
override
updateEntity(String documentID, TutorialEntity value) → dynamic
Update a TutorialEntity in the repository, cached
override
values({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<List<TutorialModel?>>
Retrieve list of List<TutorialModel?>
override
valuesList({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) → dynamic
override
valuesListWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) → dynamic
override
valuesWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<List<TutorialModel?>>
override

Operators

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

Static Methods

refreshRelations(TutorialModel model) → dynamic