toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'id': id,
'domain': domain,
'appName': appName,
'language': language,
'idfaOrGaid': idfaOrGaid,
'timeout': timeout,
'jumpToSettingsPage': jumpToSettingsPage,
'isDebugMode': isDebugMode,
'screenConfig': screenConfig.toString().split('.').last,
'isAutomaticATTRequest': isAutomaticATTRequest,
'androidPresentationStyle':
androidPresentationStyle.toString().split('.').last,
'iosPresentationStyle': iosPresentationStyle.toString().split('.').last
};
}