copyWith method
PaymentForm
copyWith({
- int? id,
- PaymentFormType? type,
- int? sellerBotUserId,
- ProductInfo? productInfo,
Implementation
PaymentForm copyWith({
int? id,
PaymentFormType? type,
int? sellerBotUserId,
ProductInfo? productInfo,
}) => PaymentForm(
id: id ?? this.id,
type: type ?? this.type,
sellerBotUserId: sellerBotUserId ?? this.sellerBotUserId,
productInfo: productInfo ?? this.productInfo,
);