DigiaConfig constructor
DigiaConfig({
- required String apiKey,
- DigiaLogLevel logLevel = DigiaLogLevel.error,
- DigiaEnvironment environment = DigiaEnvironment.production,
- Flavor? flavor,
- NetworkConfiguration? networkConfiguration,
- DeveloperConfig? developerConfig,
Implementation
DigiaConfig({
required this.apiKey,
this.logLevel = DigiaLogLevel.error,
this.environment = DigiaEnvironment.production,
Flavor? flavor,
this.networkConfiguration,
this.developerConfig,
}) : flavor = flavor ??
Flavor.debug(
environment: environment == DigiaEnvironment.production
? Environment.production
: Environment.development,
);