ToolVersionsIO class abstract final

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

readDartVersionFromToolVersions(Iterable<Directory> searchRoots) String?
Looks under each directory in searchRoots (in order) for .tool-versions and returns the dart tool version from the first file that defines one.
writeDartVersion(Directory directory, String version) → void
Updates the dart entry in the .tool-versions file in directory to version, preserving all other tool entries.