seek method

Future<int> seek(
  1. Duration position
)

Moves the cursor to the desired position.

Implementation

Future<int> seek(Duration position) {
  _positionController.add(position);
  return _invokeMethod('seek', {'position': position.inMilliseconds});
}