Association class abstract

Association

Implementers

Constructors

Association(AssociationType type)
Creates an Association for type to construct endpoint Uris.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AssociationType
The type of association.
final

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.
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.
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.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

schemeUri Uri
The default mobile wallet adapter protocol scheme.
no setter

Static Methods

randomValue({int minValue = 0, required int maxValue}) int
Generates a random non-negative integer between minValue and maxValue (inclusive).

Constants

associationParameterKey → const String
The association token query parameter key ([associationParameterKey]=<association_token>).
pathPrefix → const String
The base path of the URI.
scheme → const String
The default mobile wallet adapter protocol scheme.