HubScanner class Null safety backend
The flutter_blue IHubScanner implementation
- Inheritance
- Object
- IHubScanner
- HubScanner
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- list → HubList
-
The hub list.
This is not a copy of the list so don't modify it.
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
stream
→ Stream<
HubList> -
This stream is updated whenever the list of hubs
changes.
read-only, override
Methods
-
dispose(
) → void -
dispose should be called when done with the scanner.
this will also destroy all hubs attached.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
startScanning(
) → void -
starts scanning for the hub, depending on the backend
implementation. Currently this scans for Bluetooth
hubs.
override
-
stopScanning(
) → void -
Stop scanning for Hubs.
override
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited