PublicMediumCache class

Implemented types

Constructors

PublicMediumCache(PublicMediumRepository reference)

Properties

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

Methods

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

Operators

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