static logEvent(Event event,Map customData)async{ await _channel.invokeMethod(event.toString().split(".")[1],customData); }