DigiaConfig constructor

DigiaConfig({
  1. required String apiKey,
  2. DigiaLogLevel logLevel = DigiaLogLevel.error,
  3. DigiaEnvironment environment = DigiaEnvironment.production,
  4. Flavor? flavor,
  5. NetworkConfiguration? networkConfiguration,
  6. 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,
          );