resumeAudio method

dynamic resumeAudio()

function for resuming audio

Implementation

resumeAudio() async {
  if (player?.state == PlayerState.paused) {
    console(logs: "audio resume, messageID: ${_audioPlayInfo?.msgID}");
    await player?.resume();
  } else {
    console(logs: "current state is ${player?.state.name}, no need to resume");
  }
}