allowsAny method Null safety

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

Returns true if this constraint allows any of the versions that other allows.

Implementation

@override
bool allowsAny(VersionConstraint other) => other.allows(this);