onVariablesChanged static method
void
onVariablesChanged(
- CleverTapOnVariablesChangedHandler handler
Implementation
static void onVariablesChanged(CleverTapOnVariablesChangedHandler handler) {
onVariablesChangedImpl(allowInterop((object) {
var dartObject = js_util.dartify(object);
var convertedMap = (dartObject as Map)
.map((key, value) => MapEntry(key.toString(), value as dynamic));
handler(convertedMap.cast<String, dynamic>());
}));
}