AlbumEntryCache class

Implemented types

Constructors

AlbumEntryCache(AlbumEntryRepository reference)

Properties

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

Methods

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

Operators

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