class HazardousChemicalsModel {
  String casNo;
  String dangerId;
  String defendWay;
  String dispose;
  String englishName;
  String formula;
  String image;
  String ingredient;
  String leakWay;
  String name;
  String property;
  String sequenceNbr;
  String store;
  String symptom;
  String tabu;
  String type;
  String typeCode;
  String un;

  HazardousChemicalsModel();

  HazardousChemicalsModel.fromParams(
      {this.casNo,
      this.dangerId,
      this.defendWay,
      this.dispose,
      this.englishName,
      this.formula,
      this.image,
      this.ingredient,
      this.leakWay,
      this.name,
      this.property,
      this.store,
      this.symptom,
      this.tabu,
      this.type,
      this.typeCode,
      this.un});

  HazardousChemicalsModel.fromJson(jsonRes) {
    casNo = jsonRes['casNo'];
    dangerId = jsonRes['dangerId'];
    defendWay = jsonRes['defendWay'];
    dispose = jsonRes['dispose'];
    englishName = jsonRes['englishName'];
    formula = jsonRes['formula'];
    image = jsonRes['image'];
    ingredient = jsonRes['ingredient'];
    leakWay = jsonRes['leakWay'];
    name = jsonRes['name'];
    property = jsonRes['property'];
    store = jsonRes['store'];
    symptom = jsonRes['symptom'];
    tabu = jsonRes['tabu'];
    type = jsonRes['type'];
    typeCode = jsonRes['typeCode'];
    un = jsonRes['un'];
  }

  dynamic toJson() {
    dynamic jsonRes = {};
    jsonRes['casNo'] = casNo;
    jsonRes['dangerId'] = dangerId;
    jsonRes['defendWay'] = defendWay;
    jsonRes['dispose'] = dispose;
    jsonRes['englishName'] = englishName;
    jsonRes['formula'] = formula;
    jsonRes['image'] = image;
    jsonRes['ingredient'] = ingredient;
    jsonRes['leakWay'] = leakWay;
    jsonRes['name'] = name;
    jsonRes['property'] = property;
    jsonRes['store'] = store;
    jsonRes['symptom'] = symptom;
    jsonRes['tabu'] = tabu;
    jsonRes['type'] = type;
    jsonRes['typeCode'] = typeCode;
    jsonRes['un'] = un;
    return jsonRes;
  }
}
