FlutterAppConfig class

The application bootstrap configuration for a specific flavor.

Encapsulates the AppEnvironment and the path to the .env file so each flavor entrypoint (main_staging.dart, main_production.dart) can pass its own values without duplicating the startup logic.

Call run to execute the full startup sequence.

Annotations

Constructors

FlutterAppConfig({required AppEnvironment environment, required String envFilePath})
Creates a FlutterAppConfig for the given environment and envFilePath.
const

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run() Future<void>
Bootstraps and launches the app.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited