copyWith method

StorePaymentPurposePremiumGiftCodes copyWith({
  1. int? boostedChatId,
  2. String? currency,
  3. int? amount,
  4. List<int>? userIds,
  5. FormattedText? text,
})

Implementation

StorePaymentPurposePremiumGiftCodes copyWith({
  int? boostedChatId,
  String? currency,
  int? amount,
  List<int>? userIds,
  FormattedText? text,
}) => StorePaymentPurposePremiumGiftCodes(
  boostedChatId: boostedChatId ?? this.boostedChatId,
  currency: currency ?? this.currency,
  amount: amount ?? this.amount,
  userIds: userIds ?? this.userIds,
  text: text ?? this.text,
);