resume method

Future<int> resume()

Resumes the audio that has been paused or stopped, just like calling play, but without changing the parameters.

Implementation

Future<int> resume() async {
  final result = await _invokeMethod('resume');

  if (result == 1) {
    state = PlayerState.PLAYING;
  }

  return result;
}