hapticSupport method

  1. @override
Future<HapticSupport> hapticSupport()
override

Implementation

@override
Future<HapticSupport> hapticSupport() async {
  final raw = await methodChannel.invokeMethod<int>('Pulsar_hapticSupport');
  return HapticSupport.values[raw ?? 0];
}