GetProductsResponse.fromJson constructor
Implementation
factory GetProductsResponse.fromJson(Map<String, dynamic> json) {
return GetProductsResponse(
formatVersion: json['FormatVersion'] as String?,
nextToken: json['NextToken'] as String?,
priceList: json['PriceList'] == null
? null
: (json['PriceList'] as List)
.map((v) => jsonDecode(v as String))
.toList()
.cast<Object>(),
);
}