toWebMap method
Converts the options to a format suitable for web platforms.
Returns a Map<String, Object> formatted for web platform compatibility.
Implementation
Map<String, Object> toWebMap() {
Map<String, Object> optionsMap = {};
optionsMap["integrations"] = integrations ?? {};
optionsMap["externalId"] = externalIds ?? [];
optionsMap.addAll(customContexts ?? {});
return optionsMap;
}