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