IsarCacheManager class
- Inheritance
-
- Object
- CacheManager
- IsarCacheManager
Constructors
- IsarCacheManager({IsarDbDs? isar_ds, String? dbDir})
Properties
- eventFilter ↔ EventFilter?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isar_ds ↔ IsarDbDs
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
init(
{String? directory}) → Future< void> -
loadContactList(
String pubKey) → Future< ContactList?> -
override
-
loadEvent(
String id) → Future< Nip01Event?> -
override
-
loadEvents(
{List< String> ? pubKeys, List<int> ? kinds, String? pTag, int? since, int? until}) → Future<List< Nip01Event> > -
override
-
loadMetadata(
String pubKey) → Future< Metadata?> -
override
-
loadMetadatas(
List< String> pubKeys) → Future<List< Metadata?> > -
override
-
loadNip05(
String pubKey) → Future< Nip05?> -
override
-
loadNip05s(
List< String> pubKeys) → Future<List< Nip05?> > -
override
-
loadRelaySet(
String name, String pubKey) → Future< RelaySet?> -
override
-
loadUserRelayList(
String pubKey) → Future< UserRelayList?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAllContactLists(
) → Future< void> -
override
-
removeAllEvents(
) → Future< void> -
override
-
removeAllEventsByPubKey(
String pubKey) → Future< void> -
override
-
removeAllMetadatas(
) → Future< void> -
override
-
removeAllNip05s(
) → Future< void> -
override
-
removeAllRelaySets(
) → Future< void> -
override
-
removeAllUserRelayLists(
) → Future< void> -
override
-
removeContactList(
String pubKey) → Future< void> -
override
-
removeEvent(
String id) → Future< void> -
override
-
removeMetadata(
String pubKey) → Future< void> -
override
-
removeNip05(
String pubKey) → Future< void> -
override
-
removeRelaySet(
String name, String pubKey) → Future< void> -
override
-
removeUserRelayList(
String pubKey) → Future< void> -
override
-
saveContactList(
ContactList contactList) → Future< void> -
override
-
saveContactLists(
List< ContactList> contactLists) → Future<void> -
override
-
saveEvent(
Nip01Event event) → Future< void> -
override
-
saveEvents(
List< Nip01Event> events) → Future<void> -
override
-
saveMetadata(
Metadata metadata) → Future< void> -
override
-
saveMetadatas(
List< Metadata> metadatas) → Future<void> -
override
-
saveNip05(
Nip05 nip05) → Future< void> -
override
-
saveNip05s(
List< Nip05> nip05s) → Future<void> -
override
-
saveRelaySet(
RelaySet relaySet) → Future< void> -
override
-
saveUserRelayList(
UserRelayList userRelayList) → Future< void> -
override
-
saveUserRelayLists(
List< UserRelayList> userRelayLists) → Future<void> -
override
-
searchMetadatas(
String search, int limit) → Future< Iterable< Metadata> > -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited