seekToPlayer method

  1. @override
Future<int> seekToPlayer(
  1. FlutterSoundPlayerCallback callback, {
  2. Duration? duration,
})
override

Implementation

@override
Future<int> seekToPlayer(FlutterSoundPlayerCallback callback,
    {Duration? duration}) {
  return invokeMethod(
    callback,
    'seekToPlayer',
    {
      'duration': duration!.inMilliseconds,
    },
  );
}