hasCustomHapticsSupport method

  1. @override
Future<bool> hasCustomHapticsSupport()
override

Whether the device supports custom (amplitude-controlled) haptics.

Implementation

@override
Future<bool> hasCustomHapticsSupport() async {
  try {
    return await _invoke<bool>('hasCustomHapticsSupport') ?? false;
  } on PlatformException {
    return false;
  }
}