CmpConfig constructor

CmpConfig({
  1. required String id,
  2. required String domain,
  3. required String appName,
  4. required String language,
  5. String? idfaOrGaid,
  6. int timeout = 5000,
  7. bool jumpToSettingsPage = false,
  8. bool isDebugMode = false,
  9. ScreenConfig screenConfig = ScreenConfig.fullScreen,
  10. bool isAutomaticATTRequest = false,
  11. AndroidPresentationStyle? androidPresentationStyle = AndroidPresentationStyle.popup,
  12. IosPresentationStyle? iosPresentationStyle = IosPresentationStyle.none,
})

Implementation

CmpConfig({
  required this.id,
  required this.domain,
  required this.appName,
  required this.language,
  this.idfaOrGaid,
  this.timeout = 5000,
  this.jumpToSettingsPage = false,
  this.isDebugMode = false,
  this.screenConfig = ScreenConfig.fullScreen,
  this.isAutomaticATTRequest = false,
  this.androidPresentationStyle = AndroidPresentationStyle.popup,
  this.iosPresentationStyle = IosPresentationStyle.none,
});