isClosed method

bool isClosed()

Indicates if the connection is closed.

Returns true if the connection is closed, false otherwise.

Implementation

bool isClosed() => _isClosed;