WorkflowUpdateValidateRequestBean.fromJson constructor

WorkflowUpdateValidateRequestBean.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory WorkflowUpdateValidateRequestBean.fromJson(
    Map<String, Object?> json) {
  return WorkflowUpdateValidateRequestBean(
    payload: WorkflowUpdateRequest.fromJson(
        json[r'payload'] as Map<String, Object?>? ?? const {}),
    validationOptions: json[r'validationOptions'] != null
        ? ValidationOptionsForUpdate.fromJson(
            json[r'validationOptions']! as Map<String, Object?>)
        : null,
  );
}