toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.anonymized != null) {
json[r'anonymized'] = this.anonymized;
} else {
json[r'anonymized'] = null;
}
if (this.roleType != null) {
json[r'roleType'] = this.roleType;
} else {
json[r'roleType'] = null;
}
if (this.subjectId != null) {
json[r'subjectId'] = this.subjectId;
} else {
json[r'subjectId'] = null;
}
if (this.label != null) {
json[r'label'] = this.label;
} else {
json[r'label'] = null;
}
if (this.accountLabel != null) {
json[r'accountLabel'] = this.accountLabel;
} else {
json[r'accountLabel'] = null;
}
if (this.phone != null) {
json[r'phone'] = this.phone;
} else {
json[r'phone'] = null;
}
if (this.email != null) {
json[r'email'] = this.email;
} else {
json[r'email'] = null;
}
return json;
}