createOfferwallExtraMap method
构建ExtraMap,isAutoLoad 是否开启自动记载 默认开启, customMap 流量分组等自定义数据
Implementation
Map createOfferwallExtraMap({
Map? customMap, //流量分组Map
Map? localParams, //客户设置特殊参数数据
bool openAutoLoadCallback = false,
double maxWaitTime = 0,
}) {
Map extraMap = {};
if (localParams != null) {
extraMap['localParams'] = localParams;
}
if (customMap != null) {
extraMap['customMap'] = customMap;
}
extraMap['openAutoLoadCallback'] = openAutoLoadCallback;
extraMap['maxWaitTime'] = maxWaitTime;
return extraMap;
}