registerEvent static method

NostrEvent registerEvent(
  1. NostrEvent event
)

Implementation

static NostrEvent registerEvent(NostrEvent event) {
  eventsRegistry[eventUniqueId(event)] = event;

  return eventsRegistry[eventUniqueId(event)]!;
}