HistoryEvent class

Contains details about the events of an execution.

Constructors

HistoryEvent({required int id, required DateTime timestamp, required HistoryEventType type, ActivityFailedEventDetails? activityFailedEventDetails, ActivityScheduleFailedEventDetails? activityScheduleFailedEventDetails, ActivityScheduledEventDetails? activityScheduledEventDetails, ActivityStartedEventDetails? activityStartedEventDetails, ActivitySucceededEventDetails? activitySucceededEventDetails, ActivityTimedOutEventDetails? activityTimedOutEventDetails, ExecutionAbortedEventDetails? executionAbortedEventDetails, ExecutionFailedEventDetails? executionFailedEventDetails, ExecutionStartedEventDetails? executionStartedEventDetails, ExecutionSucceededEventDetails? executionSucceededEventDetails, ExecutionTimedOutEventDetails? executionTimedOutEventDetails, LambdaFunctionFailedEventDetails? lambdaFunctionFailedEventDetails, LambdaFunctionScheduleFailedEventDetails? lambdaFunctionScheduleFailedEventDetails, LambdaFunctionScheduledEventDetails? lambdaFunctionScheduledEventDetails, LambdaFunctionStartFailedEventDetails? lambdaFunctionStartFailedEventDetails, LambdaFunctionSucceededEventDetails? lambdaFunctionSucceededEventDetails, LambdaFunctionTimedOutEventDetails? lambdaFunctionTimedOutEventDetails, MapIterationEventDetails? mapIterationAbortedEventDetails, MapIterationEventDetails? mapIterationFailedEventDetails, MapIterationEventDetails? mapIterationStartedEventDetails, MapIterationEventDetails? mapIterationSucceededEventDetails, MapStateStartedEventDetails? mapStateStartedEventDetails, int? previousEventId, StateEnteredEventDetails? stateEnteredEventDetails, StateExitedEventDetails? stateExitedEventDetails, TaskFailedEventDetails? taskFailedEventDetails, TaskScheduledEventDetails? taskScheduledEventDetails, TaskStartFailedEventDetails? taskStartFailedEventDetails, TaskStartedEventDetails? taskStartedEventDetails, TaskSubmitFailedEventDetails? taskSubmitFailedEventDetails, TaskSubmittedEventDetails? taskSubmittedEventDetails, TaskSucceededEventDetails? taskSucceededEventDetails, TaskTimedOutEventDetails? taskTimedOutEventDetails})
HistoryEvent.fromJson(Map<String, dynamic> json)
factory

Properties

activityFailedEventDetails ActivityFailedEventDetails?
final
activityScheduledEventDetails ActivityScheduledEventDetails?
final
activityScheduleFailedEventDetails ActivityScheduleFailedEventDetails?
Contains details about an activity schedule event that failed during an execution.
final
activityStartedEventDetails ActivityStartedEventDetails?
final
activitySucceededEventDetails ActivitySucceededEventDetails?
final
activityTimedOutEventDetails ActivityTimedOutEventDetails?
final
executionAbortedEventDetails ExecutionAbortedEventDetails?
final
executionFailedEventDetails ExecutionFailedEventDetails?
final
executionStartedEventDetails ExecutionStartedEventDetails?
final
executionSucceededEventDetails ExecutionSucceededEventDetails?
final
executionTimedOutEventDetails ExecutionTimedOutEventDetails?
final
hashCode int
The hash code for this object.
no setterinherited
id int
The id of the event. Events are numbered sequentially, starting at one.
final
lambdaFunctionFailedEventDetails LambdaFunctionFailedEventDetails?
final
lambdaFunctionScheduledEventDetails LambdaFunctionScheduledEventDetails?
final
lambdaFunctionScheduleFailedEventDetails LambdaFunctionScheduleFailedEventDetails?
final
lambdaFunctionStartFailedEventDetails LambdaFunctionStartFailedEventDetails?
Contains details about a lambda function that failed to start during an execution.
final
lambdaFunctionSucceededEventDetails LambdaFunctionSucceededEventDetails?
Contains details about a lambda function that terminated successfully during an execution.
final
lambdaFunctionTimedOutEventDetails LambdaFunctionTimedOutEventDetails?
final
mapIterationAbortedEventDetails MapIterationEventDetails?
Contains details about an iteration of a Map state that was aborted.
final
mapIterationFailedEventDetails MapIterationEventDetails?
Contains details about an iteration of a Map state that failed.
final
mapIterationStartedEventDetails MapIterationEventDetails?
Contains details about an iteration of a Map state that was started.
final
mapIterationSucceededEventDetails MapIterationEventDetails?
Contains details about an iteration of a Map state that succeeded.
final
mapStateStartedEventDetails MapStateStartedEventDetails?
Contains details about Map state that was started.
final
previousEventId int?
The id of the previous event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateEnteredEventDetails StateEnteredEventDetails?
final
stateExitedEventDetails StateExitedEventDetails?
final
taskFailedEventDetails TaskFailedEventDetails?
Contains details about the failure of a task.
final
taskScheduledEventDetails TaskScheduledEventDetails?
Contains details about a task that was scheduled.
final
taskStartedEventDetails TaskStartedEventDetails?
Contains details about a task that was started.
final
taskStartFailedEventDetails TaskStartFailedEventDetails?
Contains details about a task that failed to start.
final
taskSubmitFailedEventDetails TaskSubmitFailedEventDetails?
Contains details about a task that where the submit failed.
final
taskSubmittedEventDetails TaskSubmittedEventDetails?
Contains details about a submitted task.
final
taskSucceededEventDetails TaskSucceededEventDetails?
Contains details about a task that succeeded.
final
taskTimedOutEventDetails TaskTimedOutEventDetails?
Contains details about a task that timed out.
final
timestamp DateTime
The date and time the event occurred.
final
type HistoryEventType
The type of the event.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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