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((value) => Product.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);