toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'secretForeignKeys'] = secretForeignKeys.toList();
  json[r'excludedIds'] = excludedIds;
  if (recipient != null) {
    json[r'recipient'] = recipient;
  }
  if (softwareName != null) {
    json[r'softwareName'] = softwareName;
  }
  if (softwareVersion != null) {
    json[r'softwareVersion'] = softwareVersion;
  }
  json[r'comment'] = comment;
  if (includeIrrelevantInformation != null) {
    json[r'includeIrrelevantInformation'] = includeIrrelevantInformation;
  }
  json[r'services'] = services;
  json[r'healthElements'] = healthElements;
  return json;
}