SchemaTrainTrip class
A trip on a commercial train line. See https://schema.org/TrainTrip
Constructors
- SchemaTrainTrip({String? arrivalPlatform, SchemaTrainStation? arrivalStation, String? departurePlatform, SchemaTrainStation? departureStation, String? trainName, String? trainNumber, String? arrivalTime, String? departureTime, dynamic itinerary, dynamic offers, SchemaTrip? partOfTrip, dynamic provider, SchemaTrip? subTrip, SchemaPlace? tripOrigin, 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 SchemaTrainTrip
Properties
- additionalType ↔ String?
-
//schema.org/docs/styleguide.html">style guide.
getter/setter pair
- alternateName ↔ String?
-
An alias for the item.
getter/setter pair
- arrivalPlatform ↔ String?
-
The platform where the train arrives.
getter/setter pair
- arrivalStation ↔ SchemaTrainStation?
-
The station where the train trip ends.
getter/setter pair
- arrivalTime ↔ String?
-
The expected arrival time.
getter/setter pair
- departurePlatform ↔ String?
-
The platform from which the train departs.
getter/setter pair
- departureStation ↔ SchemaTrainStation?
-
The station from which the train departs.
getter/setter pair
- departureTime ↔ String?
-
The expected departure time.
getter/setter pair
- description ↔ dynamic
-
A description of the item.
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
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier ↔ dynamic
-
The identifier property represents any kind of identifier for any kind of
SchemaThing, 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.
getter/setter pair
- image ↔ dynamic
-
An image of the item. This can be a
SchemaURL
or a fully described SchemaImageObject.getter/setter pair - itinerary ↔ dynamic
-
Destination(s) ( SchemaPlace ) that make up a trip. For a trip where
destination order is important use SchemaItemList to specify that order
(see examples).
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.
getter/setter pair
- name ↔ String?
-
The name of the item.
getter/setter pair
- offers ↔ dynamic
-
An offer to provide this item—for example, an offer to sell a
product, rent the DVD of a movie, perform a service, or give away tickets
to an event. Use
SchemabusinessFunction
to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a SchemaDemand. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.getter/setter pair - partOfTrip ↔ SchemaTrip?
-
Identifies that this SchemaTrip is a subTrip of another Trip. For
example Day 1, Day 2, etc. of a multi-day trip.
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
- provider ↔ dynamic
-
The service provider, service operator, or service performer; the goods
producer. Another party (a seller) may offer those services or goods on
behalf of the provider. A provider may also serve as the seller.
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
- subjectOf ↔ dynamic
-
A CreativeWork or Event about this Thing.
getter/setter pair
- subTrip ↔ SchemaTrip?
-
Identifies a SchemaTrip that is a subTrip of this Trip. For example Day
1, Day 2, etc. of a multi-day trip.
getter/setter pair
- trainName ↔ String?
-
The name of the train (e.g. The Orient Express).
getter/setter pair
- trainNumber ↔ String?
-
The unique identifier for the train.
getter/setter pair
- tripOrigin ↔ SchemaPlace?
-
The location of origin of the trip, prior to any destination(s).
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 SchemaTrainTrip to JSON-LD
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited