isValid property

bool get isValid

Whether the underlying semver range string parses successfully.

Implementation

bool get isValid => tryParseConstraint() != null;