fetchAll method

Future<void> fetchAll()

Fetch all of the Philip's Hue devices on the network that this device has permission to fetch.

Implementation

Future<void> fetchAll() async {
  // Go through all of the resource types on each bridge, and fetch all of
  // the resources of that type on the bridge.
  for (ResourceType type in ResourceType.values) {
    await fetchAllType(type);
  }
}