HistoryEvent constructor
HistoryEvent({
- required int eventId,
- required DateTime eventTimestamp,
- required EventType eventType,
- ActivityTaskCancelRequestedEventAttributes? activityTaskCancelRequestedEventAttributes,
- ActivityTaskCanceledEventAttributes? activityTaskCanceledEventAttributes,
- ActivityTaskCompletedEventAttributes? activityTaskCompletedEventAttributes,
- ActivityTaskFailedEventAttributes? activityTaskFailedEventAttributes,
- ActivityTaskScheduledEventAttributes? activityTaskScheduledEventAttributes,
- ActivityTaskStartedEventAttributes? activityTaskStartedEventAttributes,
- ActivityTaskTimedOutEventAttributes? activityTaskTimedOutEventAttributes,
- CancelTimerFailedEventAttributes? cancelTimerFailedEventAttributes,
- CancelWorkflowExecutionFailedEventAttributes? cancelWorkflowExecutionFailedEventAttributes,
- ChildWorkflowExecutionCanceledEventAttributes? childWorkflowExecutionCanceledEventAttributes,
- ChildWorkflowExecutionCompletedEventAttributes? childWorkflowExecutionCompletedEventAttributes,
- ChildWorkflowExecutionFailedEventAttributes? childWorkflowExecutionFailedEventAttributes,
- ChildWorkflowExecutionStartedEventAttributes? childWorkflowExecutionStartedEventAttributes,
- ChildWorkflowExecutionTerminatedEventAttributes? childWorkflowExecutionTerminatedEventAttributes,
- ChildWorkflowExecutionTimedOutEventAttributes? childWorkflowExecutionTimedOutEventAttributes,
- CompleteWorkflowExecutionFailedEventAttributes? completeWorkflowExecutionFailedEventAttributes,
- ContinueAsNewWorkflowExecutionFailedEventAttributes? continueAsNewWorkflowExecutionFailedEventAttributes,
- DecisionTaskCompletedEventAttributes? decisionTaskCompletedEventAttributes,
- DecisionTaskScheduledEventAttributes? decisionTaskScheduledEventAttributes,
- DecisionTaskStartedEventAttributes? decisionTaskStartedEventAttributes,
- DecisionTaskTimedOutEventAttributes? decisionTaskTimedOutEventAttributes,
- ExternalWorkflowExecutionCancelRequestedEventAttributes? externalWorkflowExecutionCancelRequestedEventAttributes,
- ExternalWorkflowExecutionSignaledEventAttributes? externalWorkflowExecutionSignaledEventAttributes,
- FailWorkflowExecutionFailedEventAttributes? failWorkflowExecutionFailedEventAttributes,
- LambdaFunctionCompletedEventAttributes? lambdaFunctionCompletedEventAttributes,
- LambdaFunctionFailedEventAttributes? lambdaFunctionFailedEventAttributes,
- LambdaFunctionScheduledEventAttributes? lambdaFunctionScheduledEventAttributes,
- LambdaFunctionStartedEventAttributes? lambdaFunctionStartedEventAttributes,
- LambdaFunctionTimedOutEventAttributes? lambdaFunctionTimedOutEventAttributes,
- MarkerRecordedEventAttributes? markerRecordedEventAttributes,
- RecordMarkerFailedEventAttributes? recordMarkerFailedEventAttributes,
- RequestCancelActivityTaskFailedEventAttributes? requestCancelActivityTaskFailedEventAttributes,
- RequestCancelExternalWorkflowExecutionFailedEventAttributes? requestCancelExternalWorkflowExecutionFailedEventAttributes,
- RequestCancelExternalWorkflowExecutionInitiatedEventAttributes? requestCancelExternalWorkflowExecutionInitiatedEventAttributes,
- ScheduleActivityTaskFailedEventAttributes? scheduleActivityTaskFailedEventAttributes,
- ScheduleLambdaFunctionFailedEventAttributes? scheduleLambdaFunctionFailedEventAttributes,
- SignalExternalWorkflowExecutionFailedEventAttributes? signalExternalWorkflowExecutionFailedEventAttributes,
- SignalExternalWorkflowExecutionInitiatedEventAttributes? signalExternalWorkflowExecutionInitiatedEventAttributes,
- StartChildWorkflowExecutionFailedEventAttributes? startChildWorkflowExecutionFailedEventAttributes,
- StartChildWorkflowExecutionInitiatedEventAttributes? startChildWorkflowExecutionInitiatedEventAttributes,
- StartLambdaFunctionFailedEventAttributes? startLambdaFunctionFailedEventAttributes,
- StartTimerFailedEventAttributes? startTimerFailedEventAttributes,
- TimerCanceledEventAttributes? timerCanceledEventAttributes,
- TimerFiredEventAttributes? timerFiredEventAttributes,
- TimerStartedEventAttributes? timerStartedEventAttributes,
- WorkflowExecutionCancelRequestedEventAttributes? workflowExecutionCancelRequestedEventAttributes,
- WorkflowExecutionCanceledEventAttributes? workflowExecutionCanceledEventAttributes,
- WorkflowExecutionCompletedEventAttributes? workflowExecutionCompletedEventAttributes,
- WorkflowExecutionContinuedAsNewEventAttributes? workflowExecutionContinuedAsNewEventAttributes,
- WorkflowExecutionFailedEventAttributes? workflowExecutionFailedEventAttributes,
- WorkflowExecutionSignaledEventAttributes? workflowExecutionSignaledEventAttributes,
- WorkflowExecutionStartedEventAttributes? workflowExecutionStartedEventAttributes,
- WorkflowExecutionTerminatedEventAttributes? workflowExecutionTerminatedEventAttributes,
- WorkflowExecutionTimedOutEventAttributes? workflowExecutionTimedOutEventAttributes,
Implementation
HistoryEvent({
required this.eventId,
required this.eventTimestamp,
required this.eventType,
this.activityTaskCancelRequestedEventAttributes,
this.activityTaskCanceledEventAttributes,
this.activityTaskCompletedEventAttributes,
this.activityTaskFailedEventAttributes,
this.activityTaskScheduledEventAttributes,
this.activityTaskStartedEventAttributes,
this.activityTaskTimedOutEventAttributes,
this.cancelTimerFailedEventAttributes,
this.cancelWorkflowExecutionFailedEventAttributes,
this.childWorkflowExecutionCanceledEventAttributes,
this.childWorkflowExecutionCompletedEventAttributes,
this.childWorkflowExecutionFailedEventAttributes,
this.childWorkflowExecutionStartedEventAttributes,
this.childWorkflowExecutionTerminatedEventAttributes,
this.childWorkflowExecutionTimedOutEventAttributes,
this.completeWorkflowExecutionFailedEventAttributes,
this.continueAsNewWorkflowExecutionFailedEventAttributes,
this.decisionTaskCompletedEventAttributes,
this.decisionTaskScheduledEventAttributes,
this.decisionTaskStartedEventAttributes,
this.decisionTaskTimedOutEventAttributes,
this.externalWorkflowExecutionCancelRequestedEventAttributes,
this.externalWorkflowExecutionSignaledEventAttributes,
this.failWorkflowExecutionFailedEventAttributes,
this.lambdaFunctionCompletedEventAttributes,
this.lambdaFunctionFailedEventAttributes,
this.lambdaFunctionScheduledEventAttributes,
this.lambdaFunctionStartedEventAttributes,
this.lambdaFunctionTimedOutEventAttributes,
this.markerRecordedEventAttributes,
this.recordMarkerFailedEventAttributes,
this.requestCancelActivityTaskFailedEventAttributes,
this.requestCancelExternalWorkflowExecutionFailedEventAttributes,
this.requestCancelExternalWorkflowExecutionInitiatedEventAttributes,
this.scheduleActivityTaskFailedEventAttributes,
this.scheduleLambdaFunctionFailedEventAttributes,
this.signalExternalWorkflowExecutionFailedEventAttributes,
this.signalExternalWorkflowExecutionInitiatedEventAttributes,
this.startChildWorkflowExecutionFailedEventAttributes,
this.startChildWorkflowExecutionInitiatedEventAttributes,
this.startLambdaFunctionFailedEventAttributes,
this.startTimerFailedEventAttributes,
this.timerCanceledEventAttributes,
this.timerFiredEventAttributes,
this.timerStartedEventAttributes,
this.workflowExecutionCancelRequestedEventAttributes,
this.workflowExecutionCanceledEventAttributes,
this.workflowExecutionCompletedEventAttributes,
this.workflowExecutionContinuedAsNewEventAttributes,
this.workflowExecutionFailedEventAttributes,
this.workflowExecutionSignaledEventAttributes,
this.workflowExecutionStartedEventAttributes,
this.workflowExecutionTerminatedEventAttributes,
this.workflowExecutionTimedOutEventAttributes,
});