copyWith method

WebApiModulesSettingsPoSettingsVendorInvoiceApproverVendorInvoiceApprover copyWith({
  1. String? vendorInvoiceApproverId,
  2. String? locationId,
  3. String? location,
  4. String? departmentId,
  5. String? department,
  6. String? usersId,
  7. String? username,
  8. bool? rental,
  9. bool? sales,
  10. bool? parts,
  11. bool? misc,
  12. bool? labor,
  13. bool? vehicle,
  14. bool? subRent,
  15. bool? subSale,
  16. bool? repair,
  17. bool? subMisc,
  18. bool? subLabor,
  19. bool? subVehicle,
  20. String? dateStamp,
  21. String? auditNote,
  22. String? recordTitle,
  23. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  24. List<FwStandardDataFwCustomValue>? custom,
  25. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  26. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsPoSettingsVendorInvoiceApproverVendorInvoiceApprover
    copyWith(
        {String? vendorInvoiceApproverId,
        String? locationId,
        String? location,
        String? departmentId,
        String? department,
        String? usersId,
        String? username,
        bool? rental,
        bool? sales,
        bool? parts,
        bool? misc,
        bool? labor,
        bool? vehicle,
        bool? subRent,
        bool? subSale,
        bool? repair,
        bool? subMisc,
        bool? subLabor,
        bool? subVehicle,
        String? dateStamp,
        String? auditNote,
        String? recordTitle,
        List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
        List<FwStandardDataFwCustomValue>? custom,
        List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
        List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsPoSettingsVendorInvoiceApproverVendorInvoiceApprover(
      vendorInvoiceApproverId:
          vendorInvoiceApproverId ?? this.vendorInvoiceApproverId,
      locationId: locationId ?? this.locationId,
      location: location ?? this.location,
      departmentId: departmentId ?? this.departmentId,
      department: department ?? this.department,
      usersId: usersId ?? this.usersId,
      username: username ?? this.username,
      rental: rental ?? this.rental,
      sales: sales ?? this.sales,
      parts: parts ?? this.parts,
      misc: misc ?? this.misc,
      labor: labor ?? this.labor,
      vehicle: vehicle ?? this.vehicle,
      subRent: subRent ?? this.subRent,
      subSale: subSale ?? this.subSale,
      repair: repair ?? this.repair,
      subMisc: subMisc ?? this.subMisc,
      subLabor: subLabor ?? this.subLabor,
      subVehicle: subVehicle ?? this.subVehicle,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}