VersionParser class

Implemented types

Constructors

VersionParser(int major, int minor, int patch, {List<String> preRelease = const <String>[], String build = ''})

Properties

build String
final
hashCode int
The hash code for this object.
no setteroverride
isPreRelease bool
no setter
major int
final
minor int
final
patch int
final
preRelease List<String>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(VersionParser? other) int
Compares this object to another object.
override
incrementMajor() VersionParser
incrementMinor() VersionParser
incrementPatch() VersionParser
incrementPreRelease() VersionParser
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 <(dynamic o) bool
operator <=(dynamic o) bool
operator ==(dynamic o) bool
The equality operator.
override
operator >(dynamic o) bool
operator >=(dynamic o) bool

Static Methods

parse(String versionString) VersionParser