HueNetwork constructor

HueNetwork({
  1. required List<Bridge> bridges,
})

Implementation

HueNetwork({required List<Bridge> bridges})
    : assert(!bridges.map((bridge) => bridge.ipAddress).contains(null),
          "All bridges must have an IP address"),
      assert(!bridges.map((bridge) => bridge.applicationKey).contains(null),
          "All bridges must have an application key"),
      _bridges = bridges;