HistoryEvent constructor

HistoryEvent({
  1. required int id,
  2. required DateTime timestamp,
  3. required HistoryEventType type,
  4. ActivityFailedEventDetails? activityFailedEventDetails,
  5. ActivityScheduleFailedEventDetails? activityScheduleFailedEventDetails,
  6. ActivityScheduledEventDetails? activityScheduledEventDetails,
  7. ActivityStartedEventDetails? activityStartedEventDetails,
  8. ActivitySucceededEventDetails? activitySucceededEventDetails,
  9. ActivityTimedOutEventDetails? activityTimedOutEventDetails,
  10. ExecutionAbortedEventDetails? executionAbortedEventDetails,
  11. ExecutionFailedEventDetails? executionFailedEventDetails,
  12. ExecutionStartedEventDetails? executionStartedEventDetails,
  13. ExecutionSucceededEventDetails? executionSucceededEventDetails,
  14. ExecutionTimedOutEventDetails? executionTimedOutEventDetails,
  15. LambdaFunctionFailedEventDetails? lambdaFunctionFailedEventDetails,
  16. LambdaFunctionScheduleFailedEventDetails? lambdaFunctionScheduleFailedEventDetails,
  17. LambdaFunctionScheduledEventDetails? lambdaFunctionScheduledEventDetails,
  18. LambdaFunctionStartFailedEventDetails? lambdaFunctionStartFailedEventDetails,
  19. LambdaFunctionSucceededEventDetails? lambdaFunctionSucceededEventDetails,
  20. LambdaFunctionTimedOutEventDetails? lambdaFunctionTimedOutEventDetails,
  21. MapIterationEventDetails? mapIterationAbortedEventDetails,
  22. MapIterationEventDetails? mapIterationFailedEventDetails,
  23. MapIterationEventDetails? mapIterationStartedEventDetails,
  24. MapIterationEventDetails? mapIterationSucceededEventDetails,
  25. MapStateStartedEventDetails? mapStateStartedEventDetails,
  26. int? previousEventId,
  27. StateEnteredEventDetails? stateEnteredEventDetails,
  28. StateExitedEventDetails? stateExitedEventDetails,
  29. TaskFailedEventDetails? taskFailedEventDetails,
  30. TaskScheduledEventDetails? taskScheduledEventDetails,
  31. TaskStartFailedEventDetails? taskStartFailedEventDetails,
  32. TaskStartedEventDetails? taskStartedEventDetails,
  33. TaskSubmitFailedEventDetails? taskSubmitFailedEventDetails,
  34. TaskSubmittedEventDetails? taskSubmittedEventDetails,
  35. TaskSucceededEventDetails? taskSucceededEventDetails,
  36. 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,
});