BridgeDiscoveryRepo class

This is the way to communicate with Flutter Hue Bridge services.

Constructors

BridgeDiscoveryRepo()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

discoverBridges({Directory? savedBridgesDir, bool writeToLocal = true}) Future<List<String>>
Searches the network for Philips Hue bridges.
fetchSavedBridges([Directory? directory]) Future<List<Bridge>>
Fetch all of the bridges already saved to the user's device.
firstContact({required String bridgeIpAddr, Directory? savedBridgesDir, bool writeToLocal = true, DiscoveryTimeoutController? controller}) Future<Bridge?>
Initiates the first contact between this device and the given bridge.