isBluetoothEnabled static method
Implementation
static Future<bool> isBluetoothEnabled() async {
try {
return await _platform.isBluetoothEnabled();
} catch (e) {
if (kDebugMode) print('Error checking Bluetooth state: $e');
return false;
}
}