toJson method

Map toJson()

Implementation

Map toJson(){
  Map _result = {};

  if (type != null) _result.addAll({"type": type});
  if (status != null) _result.addAll({"status": status});
  if (applicationID != null) _result.addAll({"applicationID": applicationID});
  if (dataHashAlgorithm != null) _result.addAll({"dataHashAlgorithm": dataHashAlgorithm});
  if (unicodeVersion != null) _result.addAll({"unicodeVersion": unicodeVersion});
  if (version != null) _result.addAll({"version": version});
  _result.addAll({"files": files});

  return _result;
}