toJson method

Map toJson()

Implementation

Map toJson() {
  Map _result = {};

  if (imageType != null) _result.addAll({"imageType": imageType});
  if (bitmap != null) _result.addAll({"bitmap": bitmap});

  return _result;
}