toJson method

Map toJson()

Implementation

Map toJson(){
  Map _result = {};

  if (type != null) _result.addAll({"type": type});
  if (version != null) _result.addAll({"version": version});
  if (issuingCountry != null) _result.addAll({"issuingCountry": issuingCountry});
  if (message != null) _result.addAll({"message": message});
  if (signatureAlgorithm != null) _result.addAll({"signatureAlgorithm": signatureAlgorithm});
  if (signature != null) _result.addAll({"signature": signature});
  if (certificate != null) _result.addAll({"certificate": certificate});
  _result.addAll({"certificateChain": certificateChain});
  _result.addAll({"notifications": notifications});

  return _result;
}