ListTranscriptionJobsResponse.fromJson constructor
ListTranscriptionJobsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ListTranscriptionJobsResponse.fromJson(Map<String, dynamic> json) {
return ListTranscriptionJobsResponse(
nextToken: json['NextToken'] as String?,
status: (json['Status'] as String?)?.toTranscriptionJobStatus(),
transcriptionJobSummaries: (json['TranscriptionJobSummaries'] as List?)
?.whereNotNull()
.map((e) =>
TranscriptionJobSummary.fromJson(e as Map<String, dynamic>))
.toList(),
);
}