max property

  1. @override
Version max
override

The maximum end of the range.

If includeMax is true, this will be the maximum allowed version. Otherwise, it will be the lowest version above the range that is not allowed.

This may be null in which case the range has no maximum end and allows any version greater than the minimum.

Implementation

@override
Version get max => this;