SendTonConnectSessionConnectResult class

Accepts or rejects a TON Connect session Returns Ok

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

SendTonConnectSessionConnectResult({required int sessionId, required String challengeAnswer, required bool isError, required String body, required String traceId})
const

Properties

body → String
body Body of the result
final
challengeAnswer → String
challengeAnswer Answer to the challenge received from setTonConnectSessionWalletClientId
final
hashCode → int
The hash code for this object.
no setteroverride
isError → bool
isError Pass true to reject the request; pass false to accept it
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionId → int
sessionId Unique identifier of the session
final
traceId → String
traceId Identifier to trace the connection request
final

Methods

copyWith({int? sessionId, String? challengeAnswer, bool? isError, String? body, String? traceId}) → SendTonConnectSessionConnectResult

Available on SendTonConnectSessionConnectResult, provided by the SendTonConnectSessionConnectResultExtensions 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

Constants

constructor → const String