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