DbEvent constructor

DbEvent({
  1. required String pubKey,
  2. required int kind,
  3. required List<List<String>> tags,
  4. required String content,
  5. int createdAt = 0,
  6. required String sig,
  7. bool? validSig,
  8. required List<String> sources,
})

Implementation

DbEvent(
    {required super.pubKey,
    required super.kind,
    required super.tags,
    required super.content,
    super.createdAt,
    required String sig,
    bool? validSig,
    required List<String> sources}) {
  super.sig = sig;
  super.validSig = validSig;
  super.sources = sources;
}