FailWorkflowExecutionFailedEventAttributes.fromJson constructor

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

Implementation

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