CmpConfig constructor
CmpConfig({
- required String id,
- required String domain,
- required String appName,
- required String language,
- String? idfaOrGaid,
- int timeout = 5000,
- bool jumpToSettingsPage = false,
- bool isDebugMode = false,
- ScreenConfig screenConfig = ScreenConfig.fullScreen,
- bool isAutomaticATTRequest = false,
- AndroidPresentationStyle? androidPresentationStyle = AndroidPresentationStyle.popup,
- 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,
});