WorkflowCache class

Implemented types

Constructors

WorkflowCache(WorkflowRepository reference)

Properties

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

Methods

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

Operators

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

Static Methods

refreshRelations(WorkflowModel model) Future<WorkflowModel>