openBluetoothSettings static method
Future async method call to open bluetooth settings.
Implementation
static Future<void> openBluetoothSettings(
{bool asAnotherTask = false, Function? callback}) async {
await _channel.invokeMethod('bluetooth', {
'asAnotherTask': asAnotherTask,
});
if (callback != null) handleCallback(callback);
}