log method
Implementation
Future<void> log({
required String eventName,
String? category,
Map<String, dynamic>? parameters,
}) async {
if (parameters == null) {
parameters = <String, dynamic>{};
}
if (category == null) {
category = '';
}
await logEvent(name: eventName, category: category, parameters: parameters);
}