canPush property

bool canPush

Whether the channel can send messages.

Implementation

bool get canPush =>
    socket.isConnected && _state == PhoenixChannelState.joined;