VersionBoundaries class

Version boundaries.

Constructors

VersionBoundaries(VersionBoundary? min, VersionBoundary? max)
Version boundaries.
VersionBoundaries.version(Version version)
Version boundaries pinned.

Properties

hashCode int
The hash code for this object.
no setteroverride
max VersionBoundary?
max.
final
min VersionBoundary?
min.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

match(Version version) bool
Prefer matches
matches(Version version) bool
True if a version match the boundaries
matchesMax(Version version) bool
True if a version match the max boundary
matchesMin(Version version) bool
True if a version match the min boundary.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

parse(String text) VersionBoundaries
Parse
tryParse(String text) VersionBoundaries?
Compat