seek method

Future<void> seek(
  1. Duration duration
)

Seeks the currently playing Media in the Player by specified Duration.

Implementation

Future<void> seek(Duration duration) async {
  return platform?.seek(duration);
}