ToolSet class final

The tools just keeps a project on: just_core_cli itself, and the plugin of each kind of project just create makes (kinds).

It is what just create adds to a new project, what just doctor checks the tools against and what just upgrade moves them to; its id is the set in just.json. Each plugin keeps its own packages' versions and moves them through its upgrade hook.

Each just_core_cli release carries its own tool set, so the tool and the versions it writes are always tested together.

Inheritance

Constructors

ToolSet({required String id, required List<SetPackage> packages, Map<String, String> kinds = const {}})
The tool set id, holding packages, with the kinds of project just create makes.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Its name: the year and month it was made, say.
finalinherited
kinds → Map<String, String>
The kinds of project just create makes, each with the plugin package that fills one in (its create hook): game → just_game_engine_cli. The first is the default.
final
packages → List<SetPackage>
The packages, and where each comes from.
finalinherited
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
operator [](String name) → SetPackage?
The package name, or null when the set has none.
inherited

Static Methods

named(String id) → ToolSet?
The tool set called id, or null when this version doesn't know it.

Constants

current → const ToolSet
The tool set this version of just_core_cli is made for.
known → const List<ToolSet>
The tool sets this version knows, oldest first.