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