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