hasPermissions method
Check if permissions are granted
Implementation
@override
Future<bool> hasPermissions() async {
try {
final result = await _methodChannel.invokeMethod<bool>('hasPermissions');
return result ?? false;
} catch (e) {
throw BluetoothException('Failed to check permissions: $e');
}
}