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