logEvent static method

Future<void> logEvent(
  1. String logEvent
)

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});
}