CiCdConfig class
Represents the complete configuration for CI/CD pipelines.
This class combines various aspects of a CI/CD configuration, including environment variables, build-specific details, deployment settings, and testing configurations. It provides methods for constructing instances from JSON and converting them back for data persistence and serialization.
Constructors
-
CiCdConfig({required Map<
String, String> variables, required BuildConfig build, required DeploymentConfig deployment, required TestingConfig testing}) - Creates a CiCdConfig instance.
-
CiCdConfig.fromJson(Map<
String, dynamic> json) -
Creates a CiCdConfig instance from a JSON map.
factory
Properties
- build → BuildConfig
-
Configuration information specific to the build process.
final
- deployment → DeploymentConfig
-
Configuration settings for deployment environments.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- testing → TestingConfig
-
Configuration settings for the testing phase of the pipeline.
final
-
variables
→ Map<
String, String> -
A map containing environment variables for the CI/CD pipeline.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this CiCdConfig instance to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited