isConnected property

bool get isConnected

Whether the DTD connection is active.

Implementation

bool get isConnected => _peer != null && !_peer!.isClosed;