toJson method
Allows you to serialize object.
Implementation
Map<String, dynamic> toJson() {
Map<String, dynamic> result = {};
result["docFormat"] = docFormat.value;
result["resultStatus"] = resultStatus.value;
result["width"] = width;
result["height"] = height;
result["angle"] = angle;
result["dpi"] = dpi;
result["inverse"] = inverse;
result["perspectiveTr"] = perspectiveTr;
result["objArea"] = objArea;
result["objIntAngleDev"] = objIntAngleDev;
result["pageIndex"] = pageIndex;
result["center"] = center?.toJson();
result["leftTop"] = leftTop?.toJson();
result["leftBottom"] = leftBottom?.toJson();
result["rightTop"] = rightTop?.toJson();
result["rightBottom"] = rightBottom?.toJson();
return result;
}