checkAutoPlayConditions method
function for checking whether the conditions for automatically playing audio are satisfied
Implementation
bool checkAutoPlayConditions(String msgID) {
return _audioPlayInfo != null && _currentPlayAudioInfo != null && _audioPlayInfo!.msgID == msgID && _currentPlayAudioInfo!.isCompleted;
}