playAhap method

  1. @override
Future<void> playAhap({
  1. required String path,
  2. double atTime = 0.0,
})
override

Plays an Apple Core Haptics .ahap file located at asset path.

Implementation

@override
Future<void> playAhap({required String path, double atTime = 0.0}) {
  return _invoke<void>('playAhap', <String, Object?>{
    'path': path,
    'atTime': atTime,
  });
}