getBluetoothState method
Implementation
@override
Stream<BluetoothState> getBluetoothState() {
return eventChannel.receiveBroadcastStream().map(
(state) => getBluetoothStateFromString(state),
);
}
@override
Stream<BluetoothState> getBluetoothState() {
return eventChannel.receiveBroadcastStream().map(
(state) => getBluetoothStateFromString(state),
);
}