EventPointer constructor

EventPointer({
  1. required String id,
  2. List<String>? relays,
  3. String? author,
})

Constructs an EventPointer object with the given properties.

The id parameter is required and represents the unique identifier of the event. The relays parameter is optional and represents a list of relays to use to reach the event. The author parameter is optional and represents the author of the event.

Implementation

EventPointer({required this.id, this.relays, this.author});