createInterstitialExtraMap method

Map createInterstitialExtraMap({
  1. Map? customMap,
  2. Map? localParams,
  3. bool openAutoLoadCallback = false,
  4. double maxWaitTime = 0,
})

构建ExtraMap:isAutoLoad 是否开启自动记载 默认开启, customMap 流量分组等自定义数据

Implementation

Map createInterstitialExtraMap({
  Map? customMap,
  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;
}