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