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

A → const String
BLOCKED_RELAYS → const int
BOOKMARKS → const int
BOOKMARKS_SET → const int
COMMUNITIES → const int
CURATION_SET → const int
EMOJI → const String
EMOJIS → const int
EMOJIS_SET → const int
FOLLOW_SET → const int
HASHTAG → const String
INTERESTS → const int
INTERESTS_SET → const int
MUTE → const int
PIN → const int
POSSIBLE_KINDS → const List<int>
POSSIBLE_TAGS → const List<String>
PUB_KEY → const String
PUBLIC_CHATS → const int
RELAY → const String
RELAY_SET → const int
RESOURCE → const String
SEARCH_RELAYS → const int
THREAD → const String
WORD → const String