copyWith method

SendTonConnectSessionConnectResult copyWith({
  1. int? sessionId,
  2. String? challengeAnswer,
  3. bool? isError,
  4. String? body,
  5. String? traceId,
})

Implementation

SendTonConnectSessionConnectResult copyWith({
  int? sessionId,
  String? challengeAnswer,
  bool? isError,
  String? body,
  String? traceId,
}) =>
    SendTonConnectSessionConnectResult(
      sessionId: sessionId ?? this.sessionId,
      challengeAnswer: challengeAnswer ?? this.challengeAnswer,
      isError: isError ?? this.isError,
      body: body ?? this.body,
      traceId: traceId ?? this.traceId,
    );