toJsonLd method

  1. @override
Map<String, dynamic> toJsonLd()
override

Serialize SchemaMedicalSign to JSON-LD

Implementation

@override
Map<String, dynamic> toJsonLd() => removeEmpty({
      ...super.toJsonLd(),
      '@type': 'MedicalSign',
      'identifyingExam':
          convertToJsonLd(identifyingExam, [SchemaPhysicalExam]),
      'identifyingTest':
          convertToJsonLd(identifyingTest, [SchemaMedicalTest]),
    });