hasVibrator method
Checks if the device has a physical vibrator.
Implementation
@override
Future<bool> hasVibrator() async {
try {
final hasVib = await methodChannel.invokeMethod<bool>('hasVibrator');
return hasVib ?? false;
} catch (_) {
return false;
}
}