Configuration constructor

Configuration({
  1. String host = "",
  2. String api = "",
  3. String cdn = "",
  4. String customerPlaceCode = "",
  5. String environment = "",
  6. bool? saveLogs,
  7. bool? showLogs,
  8. VersionConfiguration? version,
  9. StorageHandler? storageHandler,
  10. PWA? pwa,
  11. Loan? loan,
  12. Store? store,
  13. PurchaseInfo? purchaseInfo,
})

Implementation

Configuration({
  this.host = "",
  this.api = "",
  this.cdn = "",
  this.customerPlaceCode = "",
  this.environment = "",
  this.saveLogs,
  this.showLogs,
  this.version,
  this.storageHandler,
  PWA? pwa,
  Loan? loan,
  Store? store,
  PurchaseInfo? purchaseInfo,
})  : pwa = pwa ?? PWA(),
      loan = loan ?? Loan(),
      store = store ?? Store(),
      purchaseInfo = purchaseInfo ?? PurchaseInfo();