NostrEvent constructor
const
NostrEvent({})
This represents a low level Nostr event that requires setting all fields manually, which requires you to doo all encodings... You can use NostrEvent.fromPartialData to create an event with less fields and lower complexity..
Implementation
const NostrEvent({
required this.id,
required this.kind,
required this.content,
required this.sig,
required this.pubkey,
required this.createdAt,
required this.tags,
this.subscriptionId,
this.ots,
});