toJson method
Implementation
Map<String, Object?> toJson() {
var accountId = this.accountId;
var email = this.email;
final json = <String, Object?>{};
if (accountId != null) {
json[r'accountId'] = accountId;
}
if (email != null) {
json[r'email'] = email;
}
return json;
}