isConnected property

bool get isConnected

Implementation

bool get isConnected => (_socket != null);