toJson method

Map toJson()

Implementation

Map toJson(){
  Map _result = {};

  if (docFormat != null) _result.addAll({"docFormat": docFormat});
  if (width != null) _result.addAll({"width": width});
  if (height != null) _result.addAll({"height": height});
  if (dpi != null) _result.addAll({"dpi": dpi});
  if (pageIndex != null) _result.addAll({"pageIndex": pageIndex});
  if (inverse != null) _result.addAll({"inverse": inverse});
  if (perspectiveTr != null) _result.addAll({"perspectiveTr": perspectiveTr});
  if (objArea != null) _result.addAll({"objArea": objArea});
  if (objIntAngleDev != null) _result.addAll({"objIntAngleDev": objIntAngleDev});
  if (resultStatus != null) _result.addAll({"resultStatus": resultStatus});
  if (angle != null) _result.addAll({"angle": angle});
  if (center != null) _result.addAll({"center": center});
  if (leftTop != null) _result.addAll({"leftTop": leftTop});
  if (leftBottom != null) _result.addAll({"leftBottom": leftBottom});
  if (rightTop != null) _result.addAll({"rightTop": rightTop});
  if (rightBottom != null) _result.addAll({"rightBottom": rightBottom});

  return _result;
}