ChatMediumCache class

Implemented types

Constructors

ChatMediumCache(ChatMediumRepository reference)

Properties

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

Methods

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

Operators

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