AppConfig constructor

const AppConfig({
  1. required AppVariant variant,
  2. required AppEnvironment environment,
})

Constructs an immutable configuration with the required properties.

variant specifies the variant of the application, such as debug or release. environment specifies the environment of the application, such as production or test.

Implementation

const AppConfig({required this.variant, required this.environment});