isPause method
function for checking if audio is paused
msgID
(required) message ID
returns a bool value
Implementation
bool isPause({
required String msgID,
}) {
bool res = false;
if (_audioPlayInfo != null) {
if (_audioPlayInfo!.msgID == msgID) {
if (player?.state == PlayerState.paused) {
res = true;
}
}
}
return res;
}