logUserEvent static method
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 {
return _host.logUserEvent(name);
}