SemanticVersionManager class

Core manager service for analyzing, parsing, validating, and incrementing Semantic Versioning 2.0.0 compliance.

Constructors

SemanticVersionManager()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyTransition(SemVerPlan plan, {bool writeDisk = false}) → SemVerResult
Executes or applies a planned version transition.
compareVersions(String a, String b) → int
Compares two version strings according to SemVer 2.0.0 precedence rules.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseVersion(String input) → SemVer
Parses and validates a raw version string into a SemVer object.
planTransition(SemVerOptions options) → SemVerPlan
Plans a semantic version transition cleanly without disk mutation or external side-effects.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited