createInterActiveExtraMap method
Map
createInterActiveExtraMap(
{
})
Implementation
Map createInterActiveExtraMap({
double height = 0, //高度
double width = 0, //宽度
Map? customMap, //流量分组Map
String? sceneId, //场景ID
Map? localParams, //客户设置特殊参数数据
bool openAutoLoadCallback = false,
double maxWaitTime = 0,
}) {
Map extraMap = {};
extraMap['height'] = height;
extraMap['width'] = width;
if (localParams != null) {
extraMap['localParams'] = localParams;
}
if (customMap != null) {
extraMap['customMap'] = customMap;
}
if (sceneId != null) {
extraMap['sceneId'] = sceneId;
}
extraMap['openAutoLoadCallback'] = openAutoLoadCallback;
extraMap['maxWaitTime'] = maxWaitTime;
return extraMap;
}