isValid property

bool get isValid

Returns true when the selection is valid

Implementation

bool get isValid => error.isEmpty;