isActive property
bool
get
isActive
Whether the session is still active (not draining and not closed).
Implementation
bool get isActive => !_closed && !_state.isDraining && !_state.isClosed;
Whether the session is still active (not draining and not closed).
bool get isActive => !_closed && !_state.isDraining && !_state.isClosed;