toJson method

Map toJson()

Implementation

Map toJson(){
  Map _result = {};

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

  return _result;
}