ArchSherpaConfig class

Canonical Arch Sherpa configuration model.

Constructors

ArchSherpaConfig({required int schemaVersion, required ProjectConfig project, required FeaturesConfig features, required StateManagementConfig stateManagement, required TestsConfig tests, required DeprecationsConfig deprecations})
Creates a full configuration object.
ArchSherpaConfig.defaults()
Default configuration used when no external config is provided.
factory

Properties

deprecations DeprecationsConfig
final
features FeaturesConfig
final
hashCode int
The hash code for this object.
no setterinherited
project ProjectConfig
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaVersion int
final
stateManagement StateManagementConfig
final
tests TestsConfig
final

Methods

copyWith({int? schemaVersion, ProjectConfig? project, FeaturesConfig? features, StateManagementConfig? stateManagement, TestsConfig? tests, DeprecationsConfig? deprecations}) ArchSherpaConfig
Returns a copy with selected fields replaced.
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

fromDynamicMap(Map map) ArchSherpaConfig
Creates configuration from a dynamic map (YAML-decoded data).
toMap(ArchSherpaConfig config) Map<String, dynamic>
Serializes configuration to a plain map for output/migration.

Constants

latestSchemaVersion → const int
Latest schema version supported by this tool build.