createSplashExtraMap method
构建ExtraMap: customMap 流量分组等自定义数据
Implementation
Map createSplashExtraMap({
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;
}