encodeNevent static method
Encode nevent (event reference)
eventId - 32-byte hex event ID (required)
relays - optional list of relay URLs where the event may be found
author - optional 32-byte hex public key of the event author
kind - optional event kind number
Implementation
static String encodeNevent({
required String eventId,
List<String>? relays,
String? author,
int? kind,
}) {
return Nip19Encoder.encodeNevent(
eventId: eventId,
relays: relays,
author: author,
kind: kind,
);
}