toJson method
Implementation
Map<String, Object?> toJson() {
var global = this.global;
var projects = this.projects;
var projects2 = this.projects2;
final json = <String, Object?>{};
if (global != null) {
json[r'global'] = global.toJson();
}
json[r'projects'] = projects;
json[r'projects2'] = projects2.map((i) => i.toJson()).toList();
return json;
}