copyWithWrapped method

WebApiModulesUtilitiesLabelDesignBarcodeLabel copyWithWrapped({
  1. Wrapped<String?>? barcode,
  2. Wrapped<String?>? icode,
  3. Wrapped<String?>? serialno,
  4. Wrapped<String?>? description,
  5. Wrapped<String?>? inventorytype,
  6. Wrapped<String?>? category,
  7. Wrapped<String?>? subcategory,
  8. Wrapped<String?>? trackedby,
  9. Wrapped<String?>? manufacturer,
  10. Wrapped<String?>? manufacturerpartnumber,
})

Implementation

WebApiModulesUtilitiesLabelDesignBarcodeLabel copyWithWrapped({
  Wrapped<String?>? barcode,
  Wrapped<String?>? icode,
  Wrapped<String?>? serialno,
  Wrapped<String?>? description,
  Wrapped<String?>? inventorytype,
  Wrapped<String?>? category,
  Wrapped<String?>? subcategory,
  Wrapped<String?>? trackedby,
  Wrapped<String?>? manufacturer,
  Wrapped<String?>? manufacturerpartnumber,
}) {
  return WebApiModulesUtilitiesLabelDesignBarcodeLabel(
    barcode: (barcode != null ? barcode.value : this.barcode),
    icode: (icode != null ? icode.value : this.icode),
    serialno: (serialno != null ? serialno.value : this.serialno),
    description: (description != null ? description.value : this.description),
    inventorytype: (inventorytype != null
        ? inventorytype.value
        : this.inventorytype),
    category: (category != null ? category.value : this.category),
    subcategory: (subcategory != null ? subcategory.value : this.subcategory),
    trackedby: (trackedby != null ? trackedby.value : this.trackedby),
    manufacturer: (manufacturer != null
        ? manufacturer.value
        : this.manufacturer),
    manufacturerpartnumber: (manufacturerpartnumber != null
        ? manufacturerpartnumber.value
        : this.manufacturerpartnumber),
  );
}