diff --git a/just_audio/README.md b/just_audio/README.md index a33b08ec1..381641a00 100644 --- a/just_audio/README.md +++ b/just_audio/README.md @@ -17,7 +17,7 @@ final duration = await player.setUrl( // Load a URL player.play(); // Play without waiting for completion await player.play(); // Play while waiting for completion await player.pause(); // Pause but remain ready to play -await player.seek(Duration(second: 10)); // Jump to the 10 second position +await player.seek(Duration(seconds: 10)); // Jump to the 10 second position await player.setSpeed(2.0); // Twice as fast await player.setVolume(0.5); // Half as loud await player.stop(); // Stop and free resources