ListInventoriesResponse.fromJson constructor
ListInventoriesResponse.fromJson(
- Map json_
Implementation
ListInventoriesResponse.fromJson(core.Map json_)
: this(
inventories: json_.containsKey('inventories')
? (json_['inventories'] as core.List)
.map((value) => Inventory.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
);