HistoryEvent constructor
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,
Implementation
HistoryEvent({
required this.id,
required this.timestamp,
required this.type,
this.activityFailedEventDetails,
this.activityScheduleFailedEventDetails,
this.activityScheduledEventDetails,
this.activityStartedEventDetails,
this.activitySucceededEventDetails,
this.activityTimedOutEventDetails,
this.executionAbortedEventDetails,
this.executionFailedEventDetails,
this.executionStartedEventDetails,
this.executionSucceededEventDetails,
this.executionTimedOutEventDetails,
this.lambdaFunctionFailedEventDetails,
this.lambdaFunctionScheduleFailedEventDetails,
this.lambdaFunctionScheduledEventDetails,
this.lambdaFunctionStartFailedEventDetails,
this.lambdaFunctionSucceededEventDetails,
this.lambdaFunctionTimedOutEventDetails,
this.mapIterationAbortedEventDetails,
this.mapIterationFailedEventDetails,
this.mapIterationStartedEventDetails,
this.mapIterationSucceededEventDetails,
this.mapStateStartedEventDetails,
this.previousEventId,
this.stateEnteredEventDetails,
this.stateExitedEventDetails,
this.taskFailedEventDetails,
this.taskScheduledEventDetails,
this.taskStartFailedEventDetails,
this.taskStartedEventDetails,
this.taskSubmitFailedEventDetails,
this.taskSubmittedEventDetails,
this.taskSucceededEventDetails,
this.taskTimedOutEventDetails,
});