isSupported method
Checks if vibration is supported on this platform.
Implementation
@override
Future<bool> isSupported() async {
try {
final supported =
await methodChannel.invokeMethod<bool>('isSupported');
return supported ?? false;
} catch (_) {
return false;
}
}