TonConnectConnectData class
Contains data required to give access to the TON wallet of the current user in acceptOauthRequest
- Inheritance
- Available extensions
- Annotations
-
- @immutable
Constructors
- TonConnectConnectData({required int sessionId, required String challengeAnswer, required String body, required TonWalletOwnershipProof proof})
-
const
Properties
- body → String
-
body Body of the result of the connection request as in
sendTonConnectSessionConnectResult
final
- challengeAnswer → String
-
challengeAnswer Answer to the challenge received from
setTonConnectSessionWalletClientId
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- proof → TonWalletOwnershipProof
-
proof Proof of the TON wallet ownership for the payload
oauthLinkInfo.ton_proof_payload
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId → int
-
sessionId Unique identifier of the session
final
Methods
-
copyWith(
{int? sessionId, String? challengeAnswer, String? body, TonWalletOwnershipProof? proof}) → TonConnectConnectData -
Available on TonConnectConnectData, provided by the TonConnectConnectDataExtensions 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) → TonConnectConnectData?
Constants
- constructor → const String