copyWith method

TonConnectSession copyWith({
  1. int? id,
  2. String? dappClientId,
  3. String? walletClientId,
  4. int? creationDate,
  5. TonConnectManifest? manifest,
  6. String? nonce,
  7. TonConnectSessionState? state,
})

Implementation

TonConnectSession copyWith({
  int? id,
  String? dappClientId,
  String? walletClientId,
  int? creationDate,
  TonConnectManifest? manifest,
  String? nonce,
  TonConnectSessionState? state,
}) =>
    TonConnectSession(
      id: id ?? this.id,
      dappClientId: dappClientId ?? this.dappClientId,
      walletClientId: walletClientId ?? this.walletClientId,
      creationDate: creationDate ?? this.creationDate,
      manifest: manifest ?? this.manifest,
      nonce: nonce ?? this.nonce,
      state: state ?? this.state,
    );