ListJournalKinesisStreamsForLedgerResponse.fromJson constructor

ListJournalKinesisStreamsForLedgerResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListJournalKinesisStreamsForLedgerResponse.fromJson(
    Map<String, dynamic> json) {
  return ListJournalKinesisStreamsForLedgerResponse(
    nextToken: json['NextToken'] as String?,
    streams: (json['Streams'] as List?)
        ?.whereNotNull()
        .map((e) => JournalKinesisStreamDescription.fromJson(
            e as Map<String, dynamic>))
        .toList(),
  );
}