ListLanguageModelsResponse.fromJson constructor
Implementation
factory ListLanguageModelsResponse.fromJson(Map<String, dynamic> json) {
return ListLanguageModelsResponse(
models: (json['Models'] as List?)
?.whereNotNull()
.map((e) => LanguageModel.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}