ChatDashboardCache class

Implemented types

Properties

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

Methods

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

Operators

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