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