ListLedgersResponse.fromJson constructor
Implementation
factory ListLedgersResponse.fromJson(Map<String, dynamic> json) {
return ListLedgersResponse(
ledgers: (json['Ledgers'] as List?)
?.whereNotNull()
.map((e) => LedgerSummary.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}