copyWith method

WebApiModulesBillingVendorInvoiceToggleVendorInvoiceApprovedResponse copyWith({
  1. int? status,
  2. bool? success,
  3. String? msg,
  4. bool? promptToUpdatePurchaseOrder,
})

Implementation

WebApiModulesBillingVendorInvoiceToggleVendorInvoiceApprovedResponse copyWith(
    {int? status,
    bool? success,
    String? msg,
    bool? promptToUpdatePurchaseOrder}) {
  return WebApiModulesBillingVendorInvoiceToggleVendorInvoiceApprovedResponse(
      status: status ?? this.status,
      success: success ?? this.success,
      msg: msg ?? this.msg,
      promptToUpdatePurchaseOrder:
          promptToUpdatePurchaseOrder ?? this.promptToUpdatePurchaseOrder);
}