getBluetoothState method

  1. @override
Future<BTState> getBluetoothState()
override

Implementation

@override
Future<BTState> getBluetoothState() async {
  var state = await methodChannel.invokeMethod("getBluetoothState");
  return BTState.from(state);
}