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