isEmpty property
bool
get
isEmpty
Whether this claims nothing at all.
It is not a claim that the peer reads nothing: it means the peer had nothing to say yet, usually because its handlers open after it connects. So it never refuses anyone.
Implementation
bool get isEmpty => capabilities.isEmpty;