copyWith method

PaymentReceipt copyWith({
  1. ProductInfo? productInfo,
  2. int? date,
  3. int? sellerBotUserId,
  4. PaymentReceiptType? type,
})

Implementation

PaymentReceipt copyWith({
  ProductInfo? productInfo,
  int? date,
  int? sellerBotUserId,
  PaymentReceiptType? type,
}) =>
    PaymentReceipt(
      productInfo: productInfo ?? this.productInfo,
      date: date ?? this.date,
      sellerBotUserId: sellerBotUserId ?? this.sellerBotUserId,
      type: type ?? this.type,
    );