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