HubTransport class Null safety backend
The flutter_blue transport.
- Inheritance
- Object
- IHubTransport
- HubTransport
Constructors
- HubTransport(BluetoothDevice device, FlutterBlueHubManufacturerData manufacturerData)
Properties
- device → BluetoothDevice
-
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- id → String
-
returns the id of the hub
read-only, override
- manufacturerData → FlutterBlueHubManufacturerData
-
final
- name → String
-
returns the name of the hub
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
stream
→ Stream<
Message> -
Broadcast stream of messages coming from the hub hardware.
read-only, override
Methods
-
connect(
) → Future< bool> -
Initiates the connection to the hub.
override
-
disconnect(
) → Future< void> -
Disconnect from the hub.
override
-
dispose(
) → void -
call when done with
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
-
transmit(
Message msg) → Future< bool> -
transmit places the message on the wire immediately
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited