connectionState property
ConnectionState
get
connectionState
Implementation
ConnectionState get connectionState {
if (_connected == true) {
return ConnectionState.open;
} else {
return ConnectionState.closed;
}
}