CreateTonConnectSession class

Creates a TON Connect session; can be used only if getOption("can_use_ton_wallet") Returns TonConnectSession

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

CreateTonConnectSession({required String dappClientId, required String manifestUrl})
const

Properties

dappClientId → String
dappClientId Hex-encoded public X25519 key of the dApp
final
hashCode → int
The hash code for this object.
no setteroverride
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? dappClientId, String? manifestUrl}) → CreateTonConnectSession

Available on CreateTonConnectSession, provided by the CreateTonConnectSessionExtensions 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