GeofenceWorkflowEngine class

Constructors

GeofenceWorkflowEngine({required Stream<GeolocationEvent> events, WorkflowStateStore? stateStore})

Properties

events Stream<GeofenceWorkflowEvent>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateStore WorkflowStateStore?
Optional state store for persistence.
final

Methods

clearPersistedState() Future<void>
Clears persisted workflow state.
clearWorkflows() → void
dispose() Future<void>
getState(String workflowId) GeofenceWorkflowState?
loadState() Future<void>
Loads workflow states from persistent storage.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerWorkflows(List<GeofenceWorkflow> workflows) → void
saveState() Future<void>
Saves current workflow states to persistent storage.
start() → void
stop() → void
toString() String
A string representation of this object.
inherited

Operators

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