hasCurrentValue property

bool hasCurrentValue

Return true if current value is set, otherwise false. Accessing current or prefixEditDistance before calling moveNext throws StateError. This getter provides a way to check if iterator has been initialised without triggering this error.

Implementation

bool get hasCurrentValue;