client property

IOClient client
final

The HTTP client that is used to talk to the Philips Hue bridge.

Implementation

static final client = IOClient(HttpClient()
  ..badCertificateCallback = (X509Certificate cert, String host, int port) =>
      cert.issuer.contains("Philips Hue") ||
      cert.issuer.contains("root-bridge"));