factory Workflow.fromJson(Map<String, dynamic> json) { return Workflow( status: (json['Status'] as String?)?.toWorkflowStatus(), ); }