GridViewCache class

Implemented types

Constructors

GridViewCache(GridViewRepository reference)

Properties

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

Methods

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

Operators

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

Static Methods

refreshRelations(GridViewModel model) → Future<GridViewModel>