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