SchemaCity class
A city or town. See https://schema.org/City
Constructors
- SchemaCity.new({SchemaPropertyValue? additionalProperty, dynamic address, SchemaAggregateRating? aggregateRating, SchemaLocationFeatureSpecification? amenityFeature, String? branchCode, SchemaPlace? containedIn, SchemaPlace? containedInPlace, SchemaPlace? containsPlace, SchemaEvent? event, SchemaEvent? events, String? faxNumber, dynamic geo, dynamic geoContains, dynamic geoCoveredBy, dynamic geoCovers, dynamic geoCrosses, dynamic geoDisjoint, dynamic geoEquals, dynamic geoIntersects, dynamic geoOverlaps, dynamic geoTouches, dynamic geoWithin, String? globalLocationNumber, SchemaCertification? hasCertification, bool? hasDriveThroughService, dynamic hasMap, bool? isAccessibleForFree, String? isicV4, dynamic keywords, dynamic latitude, dynamic logo, dynamic longitude, String? map, String? maps, int? maximumAttendeeCapacity, SchemaOpeningHoursSpecification? openingHoursSpecification, dynamic photo, dynamic photos, bool? publicAccess, SchemaReview? review, SchemaReview? reviews, String? slogan, bool? smokingAllowed, SchemaOpeningHoursSpecification? specialOpeningHoursSpecification, String? telephone, String? tourBookingPage, String? additionalType, String? alternateName, dynamic description, String? disambiguatingDescription, dynamic identifier, dynamic image, dynamic mainEntityOfPage, String? name, SchemaAction? potentialAction, String? sameAs, dynamic subjectOf, String? url})
- Create a new instance of SchemaCity
Properties
- additionalProperty ↔ SchemaPropertyValue?
-
//schema.org/gtin13, ...) will typically expect such data to be
provided using those properties, rather than using the generic
property/value mechanism.
getter/setter pair
- additionalType ↔ String?
-
//schema.org/docs/styleguide.html">style guide. Supported
types: String, String
getter/setter pair
- address ↔ dynamic
-
Physical address of the item. Supported types:
PostalAddress
, Stringgetter/setter pair - aggregateRating ↔ SchemaAggregateRating?
-
The overall rating, based on a collection of reviews or ratings,
of the item.
getter/setter pair
- alternateName ↔ String?
-
An alias for the item.
getter/setter pair
- amenityFeature ↔ SchemaLocationFeatureSpecification?
-
An amenity feature (e.g a characteristic or service) of the
Accommodation This generic property does not make a statement
about whether the feature is included in an offer for the main
accommodation or available at extra costs.
getter/setter pair
- branchCode ↔ String?
-
//www.starbucks.co.uk/store-locator/etc/detail/3047 the code
"3047" is a branchCode for a particular branch.
getter/setter pair
- containedIn ↔ SchemaPlace?
-
The basic containment relation between a place and one that
contains it.
getter/setter pair
- containedInPlace ↔ SchemaPlace?
-
The basic containment relation between a place and one that
contains it.
getter/setter pair
- containsPlace ↔ SchemaPlace?
-
The basic containment relation between a place and another that
it contains.
getter/setter pair
- description ↔ dynamic
-
A description of the item. Supported types: String,
TextObject
getter/setter pair - disambiguatingDescription ↔ String?
-
A sub property of description A short description of the item
used to disambiguate from other, similar items Information from
other properties (in particular, name) may be necessary for the
description to be useful for disambiguation.
getter/setter pair
- event ↔ SchemaEvent?
-
Upcoming or past event associated with this place, organization,
or action.
getter/setter pair
- events ↔ SchemaEvent?
-
Upcoming or past events associated with this place or
organization.
getter/setter pair
- faxNumber ↔ String?
-
The fax number.
getter/setter pair
- geo ↔ dynamic
-
The geo coordinates of the place. Supported types:
GeoCoordinates
,GeoShape
getter/setter pair - geoContains ↔ dynamic
-
//en.wikipedia.org/wiki/DE-9IM). Supported types:
GeospatialGeometry
,Place
getter/setter pair - geoCoveredBy ↔ dynamic
-
//en.wikipedia.org/wiki/DE-9IM). Supported types:
GeospatialGeometry
,Place
getter/setter pair - geoCovers ↔ dynamic
-
//en.wikipedia.org/wiki/DE-9IM). Supported types:
GeospatialGeometry
,Place
getter/setter pair - geoCrosses ↔ dynamic
-
//en.wikipedia.org/wiki/DE-9IM). Supported types:
GeospatialGeometry
,Place
getter/setter pair - geoDisjoint ↔ dynamic
-
//en.wikipedia.org/wiki/DE-9IM).) Supported types:
GeospatialGeometry
,Place
getter/setter pair - geoEquals ↔ dynamic
-
//en.wikipedia.org/wiki/DE-9IM) "Two geometries are
topologically equal if their interiors intersect and no part of
the interior or boundary of one geometry intersects the exterior
of the other" (a symmetric relationship). Supported types:
GeospatialGeometry
,Place
getter/setter pair - geoIntersects ↔ dynamic
-
//en.wikipedia.org/wiki/DE-9IM). Supported types:
GeospatialGeometry
,Place
getter/setter pair - geoOverlaps ↔ dynamic
-
//en.wikipedia.org/wiki/DE-9IM). Supported types:
GeospatialGeometry
,Place
getter/setter pair - geoTouches ↔ dynamic
-
//en.wikipedia.org/wiki/DE-9IM).) Supported types:
GeospatialGeometry
,Place
getter/setter pair - geoWithin ↔ dynamic
-
//en.wikipedia.org/wiki/DE-9IM). Supported types:
GeospatialGeometry
,Place
getter/setter pair - globalLocationNumber ↔ String?
-
//www.gs1.org/gln) (GLN, sometimes also referred to as
International Location Number or ILN) of the respective
organization, person, or place The GLN is a 13-digit number used
to identify parties and physical locations.
getter/setter pair
- hasCertification ↔ SchemaCertification?
-
Certification information about a product, organization,
service, place, or person.
getter/setter pair
- hasDriveThroughService ↔ bool?
-
Indicates whether some facility (e.g [
FoodEstablishment
], [CovidTestingFacility
]) offers a service that can be used by driving through in a car In the case of [CovidTestingFacility
] such facilities could potentially help with social distancing from other potentially-infected users.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- hasMap ↔ dynamic
-
A URL to a map of the place. Supported types: Map, String
getter/setter pair
- identifier ↔ dynamic
-
The identifier property represents any kind of identifier for
any kind of [
Thing
], such as ISBNs, GTIN codes, UUIDs etc Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links See background notes for more details Supported types:PropertyValue
, String, Stringgetter/setter pair - image ↔ dynamic
-
An image of the item This can be a [
URL
] or a fully described [ImageObject
]. Supported types:ImageObject
, Stringgetter/setter pair - isAccessibleForFree ↔ bool?
-
A flag to signal that the item, event, or place is accessible
for free.
getter/setter pair
- isicV4 ↔ String?
-
The International Standard of Industrial Classification of All
Economic Activities (ISIC), Revision 4 code for a particular
organization, business person, or place.
getter/setter pair
- keywords ↔ dynamic
-
Keywords or tags used to describe some item Multiple textual
entries in a keywords list are typically delimited by commas, or
by repeating the property. Supported types:
DefinedTerm
, String, Stringgetter/setter pair - latitude ↔ dynamic
-
//en.wikipedia.org/wiki/World_Geodetic_System)). Supported
types: String, int
getter/setter pair
- logo ↔ dynamic
-
An associated logo. Supported types:
ImageObject
, Stringgetter/setter pair - longitude ↔ dynamic
-
//en.wikipedia.org/wiki/World_Geodetic_System)). Supported
types: String, int
getter/setter pair
- mainEntityOfPage ↔ dynamic
-
Indicates a page (or other CreativeWork) for which this thing is
the main entity being described See background
notes for details.
Supported types:
CreativeWork
, Stringgetter/setter pair - map ↔ String?
-
A URL to a map of the place.
getter/setter pair
- maps ↔ String?
-
A URL to a map of the place.
getter/setter pair
- maximumAttendeeCapacity ↔ int?
-
The total number of individuals that may attend an event or
venue.
getter/setter pair
- name ↔ String?
-
The name of the item.
getter/setter pair
- openingHoursSpecification ↔ SchemaOpeningHoursSpecification?
-
The opening hours of a certain place.
getter/setter pair
- photo ↔ dynamic
-
A photograph of this place. Supported types:
ImageObject
,Photograph
getter/setter pair - photos ↔ dynamic
-
Photographs of this place. Supported types:
ImageObject
,Photograph
getter/setter pair - potentialAction ↔ SchemaAction?
-
Indicates a potential Action, which describes an idealized
action in which this thing would play an 'object' role.
getter/setter pair
- publicAccess ↔ bool?
-
A flag to signal that the [
Place
] is open to public visitors If this property is omitted there is no assumed default boolean value.getter/setter pair - review ↔ SchemaReview?
-
A review of the item.
getter/setter pair
- reviews ↔ SchemaReview?
-
Review of the item.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sameAs ↔ String?
-
URL of a reference Web page that unambiguously indicates the
item's identity E.g the URL of the item's Wikipedia page,
Wikidata entry, or official website.
getter/setter pair
- slogan ↔ String?
-
A slogan or motto associated with the item.
getter/setter pair
- smokingAllowed ↔ bool?
-
Indicates whether it is allowed to smoke in the place, e.g in
the restaurant, hotel or hotel room.
getter/setter pair
- specialOpeningHoursSpecification ↔ SchemaOpeningHoursSpecification?
-
The special opening hours of a certain place.\n\nUse this to
explicitly override general opening hours brought in scope by
[openingHoursSpecification] or [
openingHours
].getter/setter pair - subjectOf ↔ dynamic
-
A CreativeWork or Event about this Thing. Supported types:
CreativeWork
, Eventgetter/setter pair - telephone ↔ String?
-
The telephone number.
getter/setter pair
- tourBookingPage ↔ String?
-
A page providing information on how to book a tour of some
[
Place
], such as an [Accommodation
] or [ApartmentComplex
] in a real estate setting, as well as other kinds of tours as appropriate.getter/setter pair - url ↔ String?
-
URL of the item.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJsonLd(
) → Map< String, dynamic> - Serialize SchemaCity to JSON-LD
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited