AppConfig class
A configuration class for an application that holds variant and environment settings.
This class is designed to be immutable and provides functionality to compare instances based on the variant and environment values.
Constructors
- AppConfig({required AppVariant variant, required AppEnvironment environment})
-
Constructs an immutable configuration with the required properties.
const
Properties
- environment → AppEnvironment
-
The environment in which the application is running.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- variant → AppVariant
-
The variant of the application.
final
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.
override