ListTextTranslationJobsResponse.fromJson constructor

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

Implementation

factory ListTextTranslationJobsResponse.fromJson(Map<String, dynamic> json) {
  return ListTextTranslationJobsResponse(
    nextToken: json['NextToken'] as String?,
    textTranslationJobPropertiesList:
        (json['TextTranslationJobPropertiesList'] as List?)
            ?.whereNotNull()
            .map((e) => TextTranslationJobProperties.fromJson(
                e as Map<String, dynamic>))
            .toList(),
  );
}