logUserEvent static method

Future<void> logUserEvent(
  1. String name
)

Logs a user event with name that happens through the lifecycle of the application. Logged user events are going to be sent with each report, as well as at the end of a session.

Implementation

static Future<void> logUserEvent(String name) async {
  final List<String> params = <String>[name];
  await _channel.invokeMethod<Object>('logUserEventWithName:', params);
}