Nip51List class

Implementers

Constructors

Nip51List({required String pubKey, required int kind, required int createdAt, required List<Nip51ListElement> elements})

Properties

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

Methods

addElement(String tag, String value, bool private) → void
addRelay(String relayUrl, bool private) → void
byTag(String tag) List<Nip51ListElement>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseTags(List tags, {required bool private}) → void
removeElement(String tag, String value) → void
removeRelay(String relayUrl) → void
toEvent(EventSigner? signer) Future<Nip01Event>
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<Nip51List>

Constants

kA → const String
kBlockedRelays → const int
kBookmarks → const int
kBookmarksSet → const int
kCommunities → const int
kCurationSet → const int
kEmoji → const String
kEmojis → const int
kEmojisSet → const int
kFollowSet → const int
kHashtag → const String
kInterests → const int
kInterestsSet → const int
kMute → const int
kPin → const int
kPossibleKinds → const List<int>
kPossibleTags → const List<String>
kPubkey → const String
kPublicChats → const int
kRelay → const String
kRelaySet → const int
kResource → const String
kSearchRelays → const int
kThread → const String
kWord → const String