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