factory ListLedgersResponse({ $core.Iterable<Ledger>? ledgers, }) { final _result = create(); if (ledgers != null) { _result.ledgers.addAll(ledgers); } return _result; }