resume method

Future<void> resume()

Resumes the audio that has been paused or stopped.

Implementation

Future<void> resume() async {
  await _platform.resume(playerId);
  state = PlayerState.playing;
}