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