copyWith method

TelegramPaymentPurposeStars copyWith({
  1. String? currency,
  2. int? amount,
  3. int? starCount,
  4. int? chatId,
})

Implementation

TelegramPaymentPurposeStars copyWith({
  String? currency,
  int? amount,
  int? starCount,
  int? chatId,
}) =>
    TelegramPaymentPurposeStars(
      currency: currency ?? this.currency,
      amount: amount ?? this.amount,
      starCount: starCount ?? this.starCount,
      chatId: chatId ?? this.chatId,
    );