isActive property

bool get isActive

Whether a socket exists (connected, or connecting/reconnecting) — i.e. the app wants realtime up, even if the link is momentarily down.

Implementation

bool get isActive => _socket != null;