hasValue property

bool get hasValue

Whether an item is selected.

Implementation

bool get hasValue => value != null;