ListInventorySourceGroupsResponse.fromJson constructor

ListInventorySourceGroupsResponse.fromJson(
  1. Map json_
)

Implementation

ListInventorySourceGroupsResponse.fromJson(core.Map json_)
    : this(
        inventorySourceGroups: json_.containsKey('inventorySourceGroups')
            ? (json_['inventorySourceGroups'] as core.List)
                .map((value) => InventorySourceGroup.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );