LocalAssociation class

Local Association

Inheritance

Constructors

LocalAssociation({int? port})
Creates an Association to construct local endpoint Uris.

Properties

hashCode int
The hash code for this object.
no setterinherited
port int
The local port number.
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 provided associationToken and queryParameters.
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

Constants

maxPort → const int
The maximum port number for local association URIs.
minPort → const int
The minimum port number for local association URIs.