ConfigService class abstract
Service for loading and validating configuration from multiple sources
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateConfigTemplate(
) → String - Generate configuration template
-
loadConfig(
{Map< String, dynamic> ? cliArgs, String? configFilePath}) → Future<SmartCoverageConfig> - Load configuration from multiple sources with priority:
-
loadEnvConfig(
) → Map< String, dynamic> - Load configuration from environment variables
-
loadYamlConfig(
String filePath) → Future< Map< String, dynamic> ?> - Load configuration from YAML file
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveConfig(
SmartCoverageConfig config, String filePath) → Future< void> - Save configuration to YAML file
-
toString(
) → String -
A string representation of this object.
inherited
-
validateConfig(
SmartCoverageConfig config, Logger logger) → Future< bool> - Validate configuration with enhanced error messages
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited