ListDominantLanguageDetectionJobsResponse.fromJson constructor

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

Implementation

factory ListDominantLanguageDetectionJobsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListDominantLanguageDetectionJobsResponse(
    dominantLanguageDetectionJobPropertiesList:
        (json['DominantLanguageDetectionJobPropertiesList'] as List?)
            ?.whereNotNull()
            .map((e) => DominantLanguageDetectionJobProperties.fromJson(
                e as Map<String, dynamic>))
            .toList(),
    nextToken: json['NextToken'] as String?,
  );
}