ListProductsResponse.fromJson constructor
ListProductsResponse.fromJson(
- Map _json
Implementation
ListProductsResponse.fromJson(core.Map _json)
: this(
nextPageToken: _json.containsKey('nextPageToken')
? _json['nextPageToken'] as core.String
: null,
products: _json.containsKey('products')
? (_json['products'] as core.List)
.map<Product>((value) => Product.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);