isBluetoothAvailable method

  1. @override
Future<bool> isBluetoothAvailable()
override

check bluetooth on/off

Implementation

@override
Future<bool> isBluetoothAvailable() => methodChannel
    .invokeMethod<bool>('isBluetoothAvailable')
    .then((value) => value ?? false);