sendEvent static method
Sends custom events to the server and returns with trigger data(if any)
@param eventName Name the event like onDeviceReady @param eventProperties Properties associated with the event
Implementation
static void sendEvent(String eventName,
[Map<String, dynamic>? eventProperties]) async {
_channel.invokeMethod("sendEvent",
{"eventName": eventName, "eventProperties": eventProperties});
}