toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.subjectId != null) {
json[r'subjectId'] = this.subjectId;
} else {
json[r'subjectId'] = null;
}
if (this.subjectLabel != null) {
json[r'subjectLabel'] = this.subjectLabel;
} else {
json[r'subjectLabel'] = null;
}
json[r'roleTypes'] = this.roleTypes;
if (this.followerMemberId != null) {
json[r'followerMemberId'] = this.followerMemberId;
} else {
json[r'followerMemberId'] = null;
}
json[r'accounts'] = this.accounts;
return json;
}