Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
close ()
→ Future <void >
closes the cache manger
used to close the db
loadContactList (String pubKey )
→ Future <ContactList ? >
loadEvent (String id )
→ Future <Nip01Event ? >
loadEvents ({List <String > pubKeys , List <int > kinds , String ? pTag , int ? since , int ? until , int ? limit })
→ Future <List <Nip01Event > >
loadMetadata (String pubKey )
→ Future <Metadata ? >
loadMetadatas (List <String > pubKeys )
→ Future <List <Metadata ? > >
loadNip05 (String pubKey )
→ Future <Nip05 ? >
loadNip05s (List <String > pubKeys )
→ Future <List <Nip05 ? > >
loadRelaySet (String name , String pubKey )
→ Future <RelaySet ? >
loadUserRelayList (String pubKey )
→ Future <UserRelayList ? >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAllContactLists ()
→ Future <void >
removeAllEvents ()
→ Future <void >
removeAllEventsByPubKey (String pubKey )
→ Future <void >
removeAllMetadatas ()
→ Future <void >
removeAllNip05s ()
→ Future <void >
removeAllRelaySets ()
→ Future <void >
removeAllUserRelayLists ()
→ Future <void >
removeContactList (String pubKey )
→ Future <void >
removeEvent (String id )
→ Future <void >
removeMetadata (String pubKey )
→ Future <void >
removeNip05 (String pubKey )
→ Future <void >
removeRelaySet (String name , String pubKey )
→ Future <void >
removeUserRelayList (String pubKey )
→ Future <void >
saveContactList (ContactList contactList )
→ Future <void >
saveContactLists (List <ContactList > contactLists )
→ Future <void >
saveEvent (Nip01Event event )
→ Future <void >
saveEvents (List <Nip01Event > events )
→ Future <void >
saveMetadata (Metadata metadata )
→ Future <void >
saveMetadatas (List <Metadata > metadatas )
→ Future <void >
saveNip05 (Nip05 nip05 )
→ Future <void >
saveNip05s (List <Nip05 > nip05s )
→ Future <void >
saveRelaySet (RelaySet relaySet )
→ Future <void >
saveUserRelayList (UserRelayList userRelayList )
→ Future <void >
saveUserRelayLists (List <UserRelayList > userRelayLists )
→ Future <void >
searchEvents ({List <String > ? ids , List <String > ? authors , List <int > ? kinds , Map <String , List <String > > ? tags , int ? since , int ? until , String ? search , int limit = 100 })
→ Future <Iterable <Nip01Event > >
search events
ids
- list of event ids
authors
- list of authors pubKeys
kinds
- list of kinds
tags
- map of tags
since
- timestamp
until
- timestamp
search
- search string to match against content
limit
- limit of results
returns list of events
searchMetadatas (String search , int limit )
→ Future <Iterable <Metadata > >
Search by name, nip05
toString ()
→ String
A string representation of this object.
inherited