DecoratedContentCache class Null safety

Implemented types

Constructors

DecoratedContentCache(DecoratedContentRepository reference)

Properties

fullCache Map<String?, DecoratedContentModel?>
final
hashCode int
The hash code for this object. [...]
read-only, inherited
reference DecoratedContentRepository
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

add(DecoratedContentModel value) → dynamic
Add a DecoratedContentModel to the repository, cached
override
addEntity(String documentID, DecoratedContentEntity value) → dynamic
Add a DecoratedContentEntity to the repository, cached
override
changeValue(String documentId, String fieldName, num changeByThisValue) → dynamic
override
delete(DecoratedContentModel value) → dynamic
Delete a DecoratedContentModel from the repository, cached
override
deleteAll() → dynamic
override
flush() → void
override
fromMap(Object? o, {Map<String, String>? newDocumentIds}) DecoratedContentEntity?
override
get(String? id, {dynamic onError(Exception)?}) → dynamic
Retrieve a DecoratedContentModel with it's id, cached
override
getEntity(String? id, {dynamic onError(Exception p1)?}) → dynamic
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) → dynamic
Update a DecoratedContentModel
override
updateEntity(String documentID, DecoratedContentEntity value) → dynamic
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}) → dynamic
override
valuesListWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) → dynamic
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

Static Methods

refreshRelations(DecoratedContentModel model) → dynamic