isClosed property

bool get isClosed

Implementation

bool get isClosed => this == ConnectionState.closed;