copyWith method

ValidateOrderInfo copyWith({
  1. InputInvoice? inputInvoice,
  2. OrderInfo? orderInfo,
  3. bool? allowSave,
})

Implementation

ValidateOrderInfo copyWith({
  InputInvoice? inputInvoice,
  OrderInfo? orderInfo,
  bool? allowSave,
}) =>
    ValidateOrderInfo(
      inputInvoice: inputInvoice ?? this.inputInvoice,
      orderInfo: orderInfo ?? this.orderInfo,
      allowSave: allowSave ?? this.allowSave,
    );