SimpleImageCache class

Implemented types

Constructors

SimpleImageCache(SimpleImageRepository reference)

Properties

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

Methods

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

Operators

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