copyWith method
UnitOfMeasuresDetails
copyWith({
- String? altUnit,
- String? material,
- String? altUnitIso,
- String? numerator,
- String? denominatr,
- String? eanUpc,
- String? eanCat,
- String? length,
- String? width,
- String? height,
- String? unitDim,
- String? unitDimIso,
- String? volume,
- String? volumeunit,
- String? volumeunitIso,
- String? grossWt,
- String? unitOfWt,
- String? unitOfWtIso,
- String? subUom,
- String? subUomIso,
- String? internalChar,
- String? uomsortnumber,
- bool? leadinguom,
- bool? valueduom,
- String? charUnit,
- String? charUnitIso,
- String? gtinVariant,
- String? netWeight,
- String? meAnzSub,
- String? ewmCwUomType,
Creates a copy of the current instance with optional new values.
Implementation
UnitOfMeasuresDetails copyWith({
String? altUnit,
String? material,
String? altUnitIso,
String? numerator,
String? denominatr,
String? eanUpc,
String? eanCat,
String? length,
String? width,
String? height,
String? unitDim,
String? unitDimIso,
String? volume,
String? volumeunit,
String? volumeunitIso,
String? grossWt,
String? unitOfWt,
String? unitOfWtIso,
String? subUom,
String? subUomIso,
String? internalChar,
String? uomsortnumber,
bool? leadinguom,
bool? valueduom,
String? charUnit,
String? charUnitIso,
String? gtinVariant,
String? netWeight,
String? meAnzSub,
String? ewmCwUomType,
}) {
return UnitOfMeasuresDetails(
altUnit: altUnit ?? this.altUnit,
material: material ?? this.material,
altUnitIso: altUnitIso ?? this.altUnitIso,
numerator: numerator ?? this.numerator,
denominatr: denominatr ?? this.denominatr,
eanUpc: eanUpc ?? this.eanUpc,
eanCat: eanCat ?? this.eanCat,
length: length ?? this.length,
width: width ?? this.width,
height: height ?? this.height,
unitDim: unitDim ?? this.unitDim,
unitDimIso: unitDimIso ?? this.unitDimIso,
volume: volume ?? this.volume,
volumeunit: volumeunit ?? this.volumeunit,
volumeunitIso: volumeunitIso ?? this.volumeunitIso,
grossWt: grossWt ?? this.grossWt,
unitOfWt: unitOfWt ?? this.unitOfWt,
unitOfWtIso: unitOfWtIso ?? this.unitOfWtIso,
subUom: subUom ?? this.subUom,
subUomIso: subUomIso ?? this.subUomIso,
internalChar: internalChar ?? this.internalChar,
uomsortnumber: uomsortnumber ?? this.uomsortnumber,
leadinguom: leadinguom ?? this.leadinguom,
valueduom: valueduom ?? this.valueduom,
charUnit: charUnit ?? this.charUnit,
charUnitIso: charUnitIso ?? this.charUnitIso,
gtinVariant: gtinVariant ?? this.gtinVariant,
netWeight: netWeight ?? this.netWeight,
meAnzSub: meAnzSub ?? this.meAnzSub,
ewmCwUomType: ewmCwUomType ?? this.ewmCwUomType,
);
}