isClosed property
bool
get
isClosed
Whether close has been called on this client. Test-only -- production SSEClient implementations do not expose this state, and tests asserting against it are inherently white-box. Use to verify that code under test correctly tears the connection down.
Implementation
bool get isClosed => _messageEventsController.isClosed;