copyWith method
PaymentReceipt
copyWith(
{ - String? title,
- String? description,
- Photo? photo,
- int? date,
- int? sellerBotUserId,
- int? paymentsProviderUserId,
- Invoice? invoice,
- OrderInfo? orderInfo,
- ShippingOption? shippingOption,
- String? credentialsTitle,
- int? tipAmount,
- int? clientId,
})
Implementation
PaymentReceipt copyWith({
String? title,
String? description,
Photo? photo,
int? date,
int? sellerBotUserId,
int? paymentsProviderUserId,
Invoice? invoice,
OrderInfo? orderInfo,
ShippingOption? shippingOption,
String? credentialsTitle,
int? tipAmount,
dynamic extra,
int? clientId,
}) => PaymentReceipt(
title: title ?? this.title,
description: description ?? this.description,
photo: photo ?? this.photo,
date: date ?? this.date,
sellerBotUserId: sellerBotUserId ?? this.sellerBotUserId,
paymentsProviderUserId: paymentsProviderUserId ?? this.paymentsProviderUserId,
invoice: invoice ?? this.invoice,
orderInfo: orderInfo ?? this.orderInfo,
shippingOption: shippingOption ?? this.shippingOption,
credentialsTitle: credentialsTitle ?? this.credentialsTitle,
tipAmount: tipAmount ?? this.tipAmount,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);