copyWithWrapped method

WebApiModulesUtilitiesLabelDesignBarcodeLabel copyWithWrapped({
  1. Wrapped<String?>? barcode,
  2. Wrapped<String?>? icode,
  3. Wrapped<String?>? description,
  4. Wrapped<String?>? inventorytype,
  5. Wrapped<String?>? category,
  6. Wrapped<String?>? subcategory,
})

Implementation

WebApiModulesUtilitiesLabelDesignBarcodeLabel copyWithWrapped(
    {Wrapped<String?>? barcode,
    Wrapped<String?>? icode,
    Wrapped<String?>? description,
    Wrapped<String?>? inventorytype,
    Wrapped<String?>? category,
    Wrapped<String?>? subcategory}) {
  return WebApiModulesUtilitiesLabelDesignBarcodeLabel(
      barcode: (barcode != null ? barcode.value : this.barcode),
      icode: (icode != null ? icode.value : this.icode),
      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));
}