Follows class
Follows usecase
Constructors
- Follows({required Requests requests, required Broadcast broadcast, required CacheManager cacheManager, required EventSigner? signer})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
broadcastAddContact(
String add, {Iterable< String> ? customRelays}) → Future<ContactList> - broadcast adding of contact
-
broadcastAddFollowedCommunity(
String toAdd, {Iterable< String> ? customRelays}) → Future<ContactList> - broadcast adding of followed community
-
broadcastAddFollowedEvent(
String toAdd, {Iterable< String> ? customRelays}) → Future<ContactList> - broadcast adding of followed event
-
broadcastAddFollowedTag(
String add, {Iterable< String> ? customRelays}) → Future<ContactList> - broadcast adding of followed tag
-
broadcastRemoveContact(
String toRemove, {Iterable< String> ? customRelays}) → Future<ContactList?> - broadcast removal of contact
-
broadcastRemoveFollowedCommunity(
String toRemove, {Iterable< String> ? customRelays}) → Future<ContactList?> - broadcast removal of followed community
-
broadcastRemoveFollowedEvent(
String toRemove, {Iterable< String> ? customRelays}) → Future<ContactList?> - broadcast removal of followed event
-
broadcastRemoveFollowedTag(
String toRemove, {Iterable< String> ? customRelays}) → Future<ContactList?> - broadcast removal of followed tag
-
broadcastSetContactList(
ContactList contactList) → Future< ContactList> -
overrides contact list with the given contact list
Use with cation! Only for initial or restoring a complete contact list
createdAt
andloadedTimestamp
are set to the current time -
getContactList(
String pubKey, {bool forceRefresh = false, int idleTimeout = Requests.DEFAULT_QUERY_TIMEOUT}) → Future< ContactList?> - contact list of a given pubkey, not intended to get followers
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited