RemoteAssociation class
Remote Association
- Inheritance
-
- Object
- Association
- RemoteAssociation
Constructors
- RemoteAssociation({required String hostAuthority, int? id})
-
Creates an Association to construct
remote
endpoint Uris.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hostAuthority → String
-
The address of a publicly routable web socket server implementing the reflector protocol.
final
- id → int
-
The reflector's randomly generated unique id.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → AssociationType
-
The type of association.
finalinherited
Methods
-
endpointUri(
AssociationToken associationToken, {required Map< String, String> queryParameters, Uri? uriPrefix}) → Uri -
Creates a new Uri for scheme or
uriPrefix
, using the providedassociationToken
andqueryParameters
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sessionUri(
) → Uri -
Creates a new Uri that's used to establish a secure web socket connection between a dApp and
wallet endpoint.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
walletUri(
AssociationToken associationToken, {Uri? uriPrefix}) → Uri -
Creates a new Uri that's used to connect a dApp endpoint to a wallet endpoint.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited