toJson method

Map toJson()

Implementation

Map toJson(){
  Map _result = {};

  if (mode != null) _result.addAll({"mode": mode});
  if (url != null) _result.addAll({"url": url});
  if (processParam != null) _result.addAll({"processParam": processParam});
  if (imageFormat != null) _result.addAll({"imageFormat": imageFormat});
  if (imageCompressionQuality != null) _result.addAll({"imageCompressionQuality": imageCompressionQuality});

  return _result;
}