toJson method

Map toJson()

Implementation

Map toJson(){
  Map _result = {};

  if (version != null) _result.addAll({"version": version});
  if (paStatus != null) _result.addAll({"paStatus": paStatus});
  if (dataToHash != null) _result.addAll({"dataToHash": dataToHash});
  if (digestAlgorithm != null) _result.addAll({"digestAlgorithm": digestAlgorithm});
  if (signatureAlgorithm != null) _result.addAll({"signatureAlgorithm": signatureAlgorithm});
  if (serialNumber != null) _result.addAll({"serialNumber": serialNumber});
  if (signature != null) _result.addAll({"signature": signature});
  if (subjectKeyIdentifier != null) _result.addAll({"subjectKeyIdentifier": subjectKeyIdentifier});
  if (issuer != null) _result.addAll({"issuer": issuer});
  _result.addAll({"notifications": notifications});
  _result.addAll({"signedAttributes": signedAttributes});
  _result.addAll({"certificateChain": certificateChain});

  return _result;
}