VersionResolver class

Resolves and optionally writes a VersionConfig.

Constructors

VersionResolver(Variables variables, {File? pubspec})

Properties

hashCode int
The hash code for this object.
no setterinherited
pubspec File
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variables Variables
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(VersionConfig config, {bool writeBack = true}) Future<ResolvedVersion>
toString() String
A string representation of this object.
inherited
writeBack(ResolvedVersion version) Future<void>
Rewrites only the top-level version line, preserving all other formatting.

Operators

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