hasSelection property

bool get hasSelection

Whether anything is selected

Implementation

bool get hasSelection => nodes.isNotEmpty || connections.isNotEmpty;