seek method

  1. @override
Future<void> seek(
  1. String playerId,
  2. Duration position
)
override

Moves the cursor to the desired position.

Implementation

@override
Future<void> seek(String playerId, Duration position) {
  return _call(
    'seek',
    playerId,
    <String, dynamic>{
      'position': position.inMilliseconds,
    },
  );
}