toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'policy'] = this.policy;
if (this.group != null) {
json[r'group'] = this.group;
} else {
json[r'group'] = null;
}
if (this.user != null) {
json[r'user'] = this.user;
} else {
json[r'user'] = null;
}
return json;
}