copyWith method

StarTransactionTypeBotPaidMediaPurchase copyWith({
  1. int? userId,
  2. List<PaidMedia>? media,
})

Implementation

StarTransactionTypeBotPaidMediaPurchase copyWith({
  int? userId,
  List<PaidMedia>? media,
}) =>
    StarTransactionTypeBotPaidMediaPurchase(
      userId: userId ?? this.userId,
      media: media ?? this.media,
    );