ListJournalS3ExportsResponse.fromJson constructor

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

Implementation

factory ListJournalS3ExportsResponse.fromJson(Map<String, dynamic> json) {
  return ListJournalS3ExportsResponse(
    journalS3Exports: (json['JournalS3Exports'] as List?)
        ?.whereNotNull()
        .map((e) =>
            JournalS3ExportDescription.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}