UnitOfMeasuresDetails.fromJson constructor

UnitOfMeasuresDetails.fromJson(
  1. Json json
)

Creates a new instance from a JSON map.

Implementation

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