logError method
Logs an error event with an eventName
and customAttributes
.
Implementation
Future<void> logError({
required String eventName,
Map<String, String?>? customAttributes,
}) async {
return await _channel.invokeMethod('logError', {
'eventName': eventName,
'customAttributes': customAttributes,
});
}