isValid property
bool
get
isValid
Whether this range is valid
Implementation
bool get isValid => start <= end && count == (end - start + 1) && start > 0;
Whether this range is valid
bool get isValid => start <= end && count == (end - start + 1) && start > 0;