toJson method
Implementation
Map<String, Object?> toJson() {
var project = this.project;
var type = this.type;
final json = <String, Object?>{};
if (project != null) {
json[r'project'] = project.toJson();
}
if (type != null) {
json[r'type'] = type.value;
}
return json;
}