applyRawEventData function

void applyRawEventData(
  1. RawEvent event
)

Implementation

void applyRawEventData(RawEvent event) {
  event.messageId ??= const Uuid().v4();
  event.timestamp ??= DateTime.now().toIso8601String();
}