FirebaseAnalyticsLogEvent constructor

FirebaseAnalyticsLogEvent({
  1. required String eventName,
  2. String? eventMessage,
  3. Map<String, Object>? parameters = const {},
})

Constructs a FirebaseAnalyticsLogEvent with required and optional parameters.

eventName - A name identifying the event. This is used as the primary identifier for the event type in Firebase Analytics. eventMessage - Optional. A message providing additional details about the event, used for context or further description. parameters - Optional. A map containing additional data that should be logged with the event. This can include any key-value pairs that Firebase Analytics supports.

Implementation

FirebaseAnalyticsLogEvent(
    {required super.eventName, super.eventMessage, super.parameters});