toJson method
Implementation
Map toJson() {
Map _result = {};
if (imageType != null) _result.addAll({"imageType": imageType});
if (detectAll != null) _result.addAll({"detectAll": detectAll});
if (bitmap != null) _result.addAll({"bitmap": bitmap});
if (identifier != null) _result.addAll({"identifier": identifier});
return _result;
}