toJson method

Map toJson()

Implementation

Map toJson(){
  Map _result = {};

  if (status != null) _result.addAll({"status": status});
  if (comparisonStatus != null) _result.addAll({"comparisonStatus": comparisonStatus});
  if (validityStatus != null) _result.addAll({"validityStatus": validityStatus});
  _result.addAll({"availableSourceList": availableSourceList});
  _result.addAll({"fields": fields});

  return _result;
}