ConsoleLogEvent constructor

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

Constructs a ConsoleLogEvent with the necessary event attributes.

eventName - A name describing the type of event. This is used as a primary identifier for the event type. eventMessage - Optional. A message providing additional details about the event. This is typically used for display in logs. parameters - Optional. A map containing additional data that should be logged with the event. This could include any context relevant to the event.

Implementation

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