LogEvent constructor

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

Constructs a LogEvent with a mandatory event name, an optional event message, and an optional map of parameters.

eventName - A unique identifier for the type of log event. eventMessage - Optional. Provides additional details about the event. parameters - Optional. A map containing additional data about the event. Defaults to an empty map.

Implementation

LogEvent({
  required this.eventName,
  this.eventMessage,
  this.parameters = const {},
});