ContactList class
nip02 contact list
- Implementers
Constructors
-
ContactList({required String pubKey, required List<
String> contacts}) - ContactList.fromEvent(Nip01Event event)
Properties
-
contactRelays
↔ List<
String> -
contacts relays
getter/setter pair
-
contacts
↔ List<
String> -
contacts (public keys)
getter/setter pair
- createdAt ↔ int
-
create at timestamp
getter/setter pair
-
followedCommunities
↔ List<
String> -
followed communities
getter/setter pair
-
followedEvents
↔ List<
String> -
followed events
getter/setter pair
-
followedTags
↔ List<
String> -
followed tags
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- loadedTimestamp ↔ int?
-
loaded at timestamp
getter/setter pair
-
petnames
↔ List<
String> -
petnames
getter/setter pair
- pubKey ↔ String
-
public key
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sources
↔ List<
String> -
relay sources
getter/setter pair
Methods
-
contactsToJson(
) → List< List< String> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
tagListToJson(
List< String> list, String tag) → List<List< String> > -
toEvent(
) → Nip01Event -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
relaysFromContent(
Nip01Event event) → Map< String, ReadWriteMarker>