ContinueAsNewWorkflowExecutionFailedEventAttributes.fromJson constructor

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

Implementation

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