CancelWorkflowExecutionFailedEventAttributes.fromJson constructor

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

Implementation

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