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