BookletCache class

Implemented types

Constructors

BookletCache(BookletRepository reference)

Properties

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

Methods

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

Operators

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

Static Methods

refreshRelations(BookletModel model) Future<BookletModel>