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