SentNostrEvent constructor

SentNostrEvent({
  1. required String id,
  2. required int kind,
  3. required String content,
  4. required String sig,
  5. required String pubkey,
  6. required DateTime createdAt,
  7. required List<List<String>> tags,
  8. String? ots,
})

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

SentNostrEvent({
  required this.id,
  required this.kind,
  required this.content,
  required this.sig,
  required this.pubkey,
  required this.createdAt,
  required this.tags,
  this.ots,
});