enableBluetooth method

Future<bool> enableBluetooth({
  1. bool askUser = true,
})

Stop advertising

Implementation

Future<bool> enableBluetooth({bool askUser = true}) async {
  return await _methodChannel.invokeMethod<bool>(
        'enableBluetooth',
        askUser,
      ) ??
      false;
}