copyWith method

PaymentForm copyWith({
  1. int? id,
  2. PaymentFormType? type,
  3. int? sellerBotUserId,
  4. 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,
    );