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