DecoratedContentCache class

Implemented types

Properties

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

Methods

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

Operators

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