CompleteWorkflowExecutionFailedEventAttributes.fromJson constructor

CompleteWorkflowExecutionFailedEventAttributes.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CompleteWorkflowExecutionFailedEventAttributes.fromJson(
    Map<String, dynamic> json) {
  return CompleteWorkflowExecutionFailedEventAttributes(
    cause: (json['cause'] as String).toCompleteWorkflowExecutionFailedCause(),
    decisionTaskCompletedEventId: json['decisionTaskCompletedEventId'] as int,
  );
}