DefaultWorkflow.fromJson constructor

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

Implementation

factory DefaultWorkflow.fromJson(Map<String, Object?> json) {
  return DefaultWorkflow(
    updateDraftIfNeeded: json[r'updateDraftIfNeeded'] as bool? ?? false,
    workflow: json[r'workflow'] as String? ?? '',
  );
}