WorkflowResult<T extends Object?> constructor

const WorkflowResult<T extends Object?>({
  1. required String runId,
  2. required WorkflowStatus status,
  3. required RunState state,
  4. T? value,
  5. Object? rawResult,
  6. bool timedOut = false,
})

Creates a workflow result snapshot.

Implementation

const WorkflowResult({
  required this.runId,
  required this.status,
  required this.state,
  this.value,
  this.rawResult,
  this.timedOut = false,
});