MenuDefCache class

Implemented types

Constructors

Properties

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

Methods

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

Operators

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

Static Methods

refreshRelations(MenuDefModel model) Future<MenuDefModel>