copyWith method

TonConnectConnectData copyWith({
  1. int? sessionId,
  2. String? challengeAnswer,
  3. String? body,
  4. TonWalletOwnershipProof? proof,
})

Implementation

TonConnectConnectData copyWith({
  int? sessionId,
  String? challengeAnswer,
  String? body,
  TonWalletOwnershipProof? proof,
}) =>
    TonConnectConnectData(
      sessionId: sessionId ?? this.sessionId,
      challengeAnswer: challengeAnswer ?? this.challengeAnswer,
      body: body ?? this.body,
      proof: proof ?? this.proof,
    );