AiSource enum

Which layer a resolved setting came from, least trusted last.

The order matters: distribution.yaml travels with a cloned repository, so it is trusted less than the machine-wide store the user wrote themselves, and less still than a flag they just typed.

Inheritance
Available extensions

Values

flag → const AiSource

A command line flag typed for this invocation.

project → const AiSource

The ai: section of distribution.yaml, which ships with the repository.

machine → const AiSource

The machine-wide store at ~/.distribute/ai.json.

none → const AiSource

Nothing supplied it; a default or the environment was used.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<AiSource>
A constant List of the values in this enum, in order of their declaration.