DbContactList class

Inheritance
Annotations
  • @Collection(inheritance: true)

Constructors

DbContactList({required String pubKey, required List<String> contacts})

Properties

contactRelays List<String>
contacts relays
getter/setter pairinherited
contacts List<String>
contacts (public keys)
getter/setter pairinherited
createdAt int
create at timestamp
getter/setter pairinherited
followedCommunities List<String>
followed communities
getter/setter pairinherited
followedEvents List<String>
followed events
getter/setter pairinherited
followedTags List<String>
followed tags
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setter
loadedTimestamp int?
loaded at timestamp
getter/setter pairinherited
petnames List<String>
petnames
getter/setter pairinherited
pubKey String
public key
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sources List<String>
relay sources
getter/setter pairinherited

Methods

contactsToJson() List<List<String>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
tagListToJson(List<String> list, String tag) List<List<String>>
inherited
toEvent() Nip01Event
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromContactList(ContactList contactList) DbContactList