toJsonLd method

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

Serialize SchemaBroadcastService to JSON-LD

Implementation

@override
Map<String, dynamic> toJsonLd() => removeEmpty({
      '@context': 'https://schema.org',
      '@type': 'BroadcastService',
      'area': convertToJsonLd(area, [SchemaPlace]),
      'broadcastAffiliateOf':
          convertToJsonLd(broadcastAffiliateOf, [SchemaOrganization]),
      'broadcastDisplayName': convertToJsonLd(broadcastDisplayName, [String]),
      'broadcastFrequency': convertToJsonLd(broadcastFrequency,
          [SchemaBroadcastFrequencySpecification, String]),
      'broadcastTimezone': convertToJsonLd(broadcastTimezone, [String]),
      'broadcaster': convertToJsonLd(broadcaster, [SchemaOrganization]),
      'callSign': convertToJsonLd(callSign, [String]),
      'hasBroadcastChannel':
          convertToJsonLd(hasBroadcastChannel, [SchemaBroadcastChannel]),
      'inLanguage': convertToJsonLd(inLanguage, [SchemaLanguage, String]),
      'parentService':
          convertToJsonLd(parentService, [SchemaBroadcastService]),
      'videoFormat': convertToJsonLd(videoFormat, [String]),
      'aggregateRating':
          convertToJsonLd(aggregateRating, [SchemaAggregateRating]),
      'areaServed': convertToJsonLd(areaServed,
          [SchemaAdministrativeArea, SchemaGeoShape, SchemaPlace, String]),
      'audience': convertToJsonLd(audience, [SchemaAudience]),
      'availableChannel':
          convertToJsonLd(availableChannel, [SchemaServiceChannel]),
      'award': convertToJsonLd(award, [String]),
      'brand': convertToJsonLd(brand, [SchemaBrand, SchemaOrganization]),
      'broker': convertToJsonLd(broker, [SchemaOrganization, SchemaPerson]),
      'category': convertToJsonLd(category, [
        SchemaCategoryCode,
        SchemaPhysicalActivityCategory,
        String,
        String,
        SchemaThing
      ]),
      'hasCertification':
          convertToJsonLd(hasCertification, [SchemaCertification]),
      'hasOfferCatalog':
          convertToJsonLd(hasOfferCatalog, [SchemaOfferCatalog]),
      'hoursAvailable':
          convertToJsonLd(hoursAvailable, [SchemaOpeningHoursSpecification]),
      'isRelatedTo':
          convertToJsonLd(isRelatedTo, [SchemaProduct, SchemaService]),
      'isSimilarTo':
          convertToJsonLd(isSimilarTo, [SchemaProduct, SchemaService]),
      'logo': convertToJsonLd(logo, [SchemaImageObject, String]),
      'offers': convertToJsonLd(offers, [SchemaDemand, SchemaOffer]),
      'produces': convertToJsonLd(produces, [SchemaThing]),
      'provider':
          convertToJsonLd(provider, [SchemaOrganization, SchemaPerson]),
      'providerMobility': convertToJsonLd(providerMobility, [String]),
      'review': convertToJsonLd(review, [SchemaReview]),
      'serviceArea': convertToJsonLd(serviceArea,
          [SchemaAdministrativeArea, SchemaGeoShape, SchemaPlace]),
      'serviceAudience': convertToJsonLd(serviceAudience, [SchemaAudience]),
      'serviceOutput': convertToJsonLd(serviceOutput, [SchemaThing]),
      'serviceType': convertToJsonLd(
          serviceType, [SchemaGovernmentBenefitsType, String]),
      'slogan': convertToJsonLd(slogan, [String]),
      'termsOfService': convertToJsonLd(termsOfService, [String, String]),
      'additionalType': convertToJsonLd(additionalType, [String, String]),
      'alternateName': convertToJsonLd(alternateName, [String]),
      'description': convertToJsonLd(description, [String, SchemaTextObject]),
      'disambiguatingDescription':
          convertToJsonLd(disambiguatingDescription, [String]),
      'identifier':
          convertToJsonLd(identifier, [SchemaPropertyValue, String, String]),
      'image': convertToJsonLd(image, [SchemaImageObject, String]),
      'mainEntityOfPage':
          convertToJsonLd(mainEntityOfPage, [SchemaCreativeWork, String]),
      'name': convertToJsonLd(name, [String]),
      'potentialAction': convertToJsonLd(potentialAction, [SchemaAction]),
      'sameAs': convertToJsonLd(sameAs, [String]),
      'subjectOf':
          convertToJsonLd(subjectOf, [SchemaCreativeWork, SchemaEvent]),
      'url': convertToJsonLd(url, [String]),
    });