MigratorConfig class

Parsed settings from an optional migrator_config.yaml at the project root.

Keys: provider_naming, auto_merge_state, governance, architecture_roles. Safe defaults are used when the file is absent or a key is missing.

Constructors

MigratorConfig({String providerNaming = 'camelCase', bool autoMergeState = true, Map<String, dynamic> governance = const {}, Map<String, String> architectureRoles = const {}})
Creates a MigratorConfig with optional overrides; all fields have safe defaults.
MigratorConfig.fromYaml(String yamlString)
Parses yamlString and returns a MigratorConfig.
factory

Properties

architectureRoles Map<String, String>
Optional overrides mapping class-name suffixes to architecture roles.
final
autoMergeState bool
When true, multi-field state is automatically collapsed into a single state class.
final
governance Map<String, dynamic>
Governance rules map, forwarded directly to GovernanceEngine.
final
hashCode int
The hash code for this object.
no setterinherited
providerNaming String
Naming convention for generated providers: 'camelCase' (default) or 'snake_case'.
final
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