toJson method

Json toJson()

Converts the instance to a JSON map.

Implementation

Json toJson() {
  return {
    'AltUnit': altUnit,
    'Material': material,
    'AltUnitIso': altUnitIso,
    'Numerator': numerator,
    'Denominatr': denominatr,
    'EanUpc': eanUpc,
    'EanCat': eanCat,
    'Length': length,
    'Width': width,
    'Height': height,
    'UnitDim': unitDim,
    'UnitDimIso': unitDimIso,
    'Volume': volume,
    'Volumeunit': volumeunit,
    'VolumeunitIso': volumeunitIso,
    'GrossWt': grossWt,
    'UnitOfWt': unitOfWt,
    'UnitOfWtIso': unitOfWtIso,
    'SubUom': subUom,
    'SubUomIso': subUomIso,
    'InternalChar': internalChar,
    'Uomsortnumber': uomsortnumber,
    'Leadinguom': leadinguom,
    'Valueduom': valueduom,
    'CharUnit': charUnit,
    'CharUnitIso': charUnitIso,
    'GtinVariant': gtinVariant,
    'NetWeight': netWeight,
    'MeAnzSub': meAnzSub,
    'EwmCwUomType': ewmCwUomType,
  };
}