newEventByName static method
Implementation
static void newEventByName(String name, [Map<String, Object> attributes = const {}]) {
if (isAndroid) {
_channel.invokeMethod('newEventByName', {
'name': name,
'attributes': attributes,
});
} else if (isWeb) {
MetrixWeb.newEventByName(name, attributes);
}
}