PulumiVersion class

Semantic version value for Pulumi CLI version checks.

Implemented types

Constructors

PulumiVersion({required int major, required int minor, required int patch, String prerelease = ''})
const
PulumiVersion.parse(String raw)
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
isPrerelease → bool
no setter
major → int
final
minor → int
final
patch → int
final
prerelease → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(PulumiVersion other) → int
Compares this object to another object.
override
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

tryParse(String raw) → PulumiVersion?