toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "notes": notes ?? notes,
      "number_of_packages": numberOfPackages ?? numberOfPackages,
      "weight": weight ?? weight,
      "weight_unit": weightUnit ?? weightUnit,
      "length": length ?? length,
      "width": width ?? width,
      "height": height ?? height,
      "contents": contents ?? contents,
    };