CubeSettings class final

The cube: config section: opt-in switch plus the default manifest.

Constructors

CubeSettings({bool enabled = true, String? configPath})
Creates settings.
const
CubeSettings.fromYaml(Object? node)
Parses the cube: section. Strict: unknown keys throw ConfigException.
factory

Properties

configPath → String?
The default cube manifest — a path (anything containing /) or a bare name resolved under <cwd>/.fah/cubes/<name>.yaml. null = no default cube.
final
enabled → bool
Whether the saved cube applies at startup (explicit flags always win).
final
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
toYamlFragment() → String
Serializes to the cube: yaml section (round-trips with CubeSettings.fromYaml); defaults are omitted.

Operators

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