FlutterAppConfig constructor

const FlutterAppConfig({
  1. required AppEnvironment environment,
  2. required String envFilePath,
})

Creates a FlutterAppConfig for the given environment and envFilePath.

envFilePath must be the asset path to the dotenv file for this flavor, for example 'keys/env/.env-staging'.

Implementation

const FlutterAppConfig({required AppEnvironment environment, required String envFilePath}) : _environment = environment, _envFilePath = envFilePath;