customEventWithData static method
Implementation
static void customEventWithData(Map event){
for (var entry in event.entries) {
print('${entry.key}: ${entry.value}');
obj[entry.key] = entry.value.toString();
}
sdk.callMethod('customEvent', [obj]);
}