allowsAll method Null safety

  1. @override
bool allowsAll(
  1. VersionConstraint other
)
override

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

Implementation

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