toJson method

Map toJson()

Implementation

Map toJson(){
  Map _result = {};

  if (binaryData != null) _result.addAll({"binaryData": binaryData});
  if (resourceType != null) _result.addAll({"resourceType": resourceType});
  if (privateKey != null) _result.addAll({"privateKey": privateKey});

  return _result;
}