PresentationCache class

Implemented types

Constructors

PresentationCache(PresentationRepository reference)

Properties

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

Methods

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

Operators

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