canSupportsHaptic property

Future<bool> get canSupportsHaptic

check if the device can vibrate or not

Implementation

static Future<bool> get canSupportsHaptic async {
  return await _channel.invokeMethod('canSupportsHaptic');
}