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