isConnected property

bool get isConnected

Implementation

bool get isConnected => this == ConnectionState.connected;