Nip51Set class

Inheritance

Constructors

Nip51Set({required String pubKey, required String name, required int createdAt, required List<Nip51ListElement> elements, required int kind, String? title})

Properties

allRelays List<String>
no setterinherited
createdAt int
getter/setter pairinherited
description String?
getter/setter pair
displayTitle String
no setterinherited
elements List<Nip51ListElement>
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hashtags List<Nip51ListElement>
no setterinherited
id String
getter/setter pairinherited
image String?
getter/setter pair
kind int
getter/setter pairinherited
name String
getter/setter pair
privateRelays List<String>
getter/setter pairinherited
pubKey String
getter/setter pairinherited
pubKeys List<Nip51ListElement>
no setterinherited
publicRelays List<String>
getter/setter pairinherited
relays List<Nip51ListElement>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
threads List<Nip51ListElement>
no setterinherited
title String?
getter/setter pair
words List<Nip51ListElement>
no setterinherited

Methods

addElement(String tag, String value, bool private) → void
inherited
addRelay(String relayUrl, bool private) → void
inherited
byTag(String tag) List<Nip51ListElement>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseSetTags(List tags) → void
parseTags(List tags, {required bool private}) → void
inherited
removeElement(String tag, String value) → void
inherited
removeRelay(String relayUrl) → void
inherited
toEvent(EventSigner? signer) Future<Nip01Event>
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromEvent(Nip01Event event, EventSigner? signer) Future<Nip51Set?>
override