toJson method

Map toJson()

Implementation

Map toJson(){
  Map result = {};

  if (fileReference != null) result.addAll({"fileReference": fileReference});
  if (version != null) result.addAll({"version": version});
  if (objectType != null) result.addAll({"objectType": objectType});
  if (notifications != null) result.addAll({"notifications": notifications});
  if (signerInfos != null) result.addAll({"signerInfos": signerInfos});

  return result;
}