toJson method

Map<String, dynamic> toJson()

Implementation

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