canPush property

bool canPush

Returns true if the socket is connected and the channel has been joined.

Implementation

bool get canPush {
  return socket.isConnected && isJoined;
}