Map<String, Object?> toJson() { var workflows = this.workflows; final json = <String, Object?>{}; json[r'workflows'] = workflows.map((i) => i.toJson()).toList(); return json; }