disableBluetooth method

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

Requests the system to disable the Bluetooth adapter.

Returns true if Bluetooth was successfully disabled or was already off.

Implementation

@override
Future<bool> disableBluetooth() async {
  return await _invoke<bool>('disableBluetooth') ?? false;
}