SimpleTextCache class

Implemented types

Constructors

SimpleTextCache(SimpleTextRepository reference)

Properties

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

Methods

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

Operators

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