HomeMenuCache class

Implemented types

Constructors

HomeMenuCache(HomeMenuRepository reference)

Properties

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

Methods

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

Operators

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

Static Methods

refreshRelations(HomeMenuModel model) Future<HomeMenuModel>