logEvent static method
This method is used for sending event to be logged.
logEvent
is String
Here logEvent is sending the value as trigger
Implementation
static Future<void> logEvent(String logEvent) async {
await _channel.invokeMethod('logEvent', {"key": logEvent});
}