copyWith method

StarTransactionTypeBotInvoicePurchase copyWith({
  1. int? userId,
  2. ProductInfo? productInfo,
})

Implementation

StarTransactionTypeBotInvoicePurchase copyWith({
  int? userId,
  ProductInfo? productInfo,
}) =>
    StarTransactionTypeBotInvoicePurchase(
      userId: userId ?? this.userId,
      productInfo: productInfo ?? this.productInfo,
    );