isReady property
bool
get
isReady
Whether or not the connection is ready to be used for streaming.
Implementation
bool get isReady =>
connection != null && !connection!.closed && connection!.connected;