NostrEvent constructor

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

Implementation

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