toJson method

Map toJson()

Implementation

Map toJson(){
  Map _result = {};

  if (status != null) _result.addAll({"status": status});
  if (elementType != null) _result.addAll({"elementType": elementType});
  if (elementDiagnose != null) _result.addAll({"elementDiagnose": elementDiagnose});
  if (elementTypeName != null) _result.addAll({"elementTypeName": elementTypeName});
  if (elementDiagnoseName != null) _result.addAll({"elementDiagnoseName": elementDiagnoseName});

  return _result;
}