allowsAll method

bool allowsAll (VersionConstraint other)
override

Returns true if this constraint allows all the versions that other allows.

Implementation

bool allowsAll(VersionConstraint other) => other.isEmpty || other == this;