BlossomUserServerList class
Blossom User Server List used to manage the blossom servers of a user
Constructors
- BlossomUserServerList.new({required Requests requests, required Broadcast broadcast, required Accounts accounts})
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
-
getUserServerList(
{required List< String> pubkeys}) → Future<List< String> ?> -
Get user server list
returns list of server urls
returns null if the user has no server list -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
publishUserServerList(
{required List< String> serverUrlsOrdered}) → Future<List< RelayBroadcastResponse> > -
Publish user server list
order ofserverUrlsOrdered
is important, the first server is the most trusted server -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited