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