TonConnectConnectRequest class

Contains information about a request to connect the user's TON wallet to a dApp using TON Connect

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

TonConnectConnectRequest({required String manifestUrl, required List<TonConnectConnectItem> items})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
items → List<TonConnectConnectItem>
items Items requested from the wallet
final
manifestUrl → String
manifestUrl URL of the manifest of the dApp
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? manifestUrl, List<TonConnectConnectItem>? items}) → TonConnectConnectRequest

Available on TonConnectConnectRequest, provided by the TonConnectConnectRequestExtensions extension

getConstructor() → String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Map<String, dynamic>? json) → TonConnectConnectRequest?

Constants

constructor → const String