copyWith method

TonConnectChallenge copyWith({
  1. String? challenge,
  2. int? eventId,
})

Implementation

TonConnectChallenge copyWith({
  String? challenge,
  int? eventId,
}) =>
    TonConnectChallenge(
      challenge: challenge ?? this.challenge,
      eventId: eventId ?? this.eventId,
    );