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