checkBluetoothPermissions method
Implementation
@override
Future<bool> checkBluetoothPermissions() async {
if (Platform.isWindows) {
throw UnimplementedError('Bluetooth is not supported on Windows');
}
try {
final bool result = await _channel.invokeMethod<bool>('checkBluetoothPermissions') ?? false;
return result;
} catch (e) {
return false;
}
}