seekToPlayer method

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

Implementation

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