isActive property

bool get isActive

Check if the session is active

Implementation

bool get isActive =>
    state == VoiceSessionState.listening ||
    state == VoiceSessionState.processing ||
    state == VoiceSessionState.speaking;