TicketLeg class
Constructors
-
TicketLeg({String? arrivalDateTime, String? carriage, String? departureDateTime, LocalizedString? destinationName, String? destinationStationCode, LocalizedString? fareName, LocalizedString? originName, String? originStationCode, String? platform, TicketSeat? ticketSeat, List<
TicketSeat> ? ticketSeats, LocalizedString? transitOperatorName, LocalizedString? transitTerminusName, String? zone}) - TicketLeg.fromJson(Map json_)
Properties
- arrivalDateTime ↔ String?
-
The date/time of arrival.
getter/setter pair
- carriage ↔ String?
-
The train or ship name/number that the passsenger needs to board.
getter/setter pair
- departureDateTime ↔ String?
-
The date/time of departure.
getter/setter pair
- destinationName ↔ LocalizedString?
-
The destination name.
getter/setter pair
- destinationStationCode ↔ String?
-
The destination station code.
getter/setter pair
- fareName ↔ LocalizedString?
-
Short description/name of the fare for this leg of travel.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- originName ↔ LocalizedString?
-
The name of the origin station.
getter/setter pair
- originStationCode ↔ String?
-
The origin station code.
getter/setter pair
- platform ↔ String?
-
The platform or gate where the passenger can board the carriage.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ticketSeat ↔ TicketSeat?
-
The reserved seat for the passenger(s).
getter/setter pair
-
ticketSeats
↔ List<
TicketSeat> ? -
The reserved seat for the passenger(s).
getter/setter pair
- transitOperatorName ↔ LocalizedString?
-
The name of the transit operator that is operating this leg of a trip.
getter/setter pair
- transitTerminusName ↔ LocalizedString?
-
Terminus station or destination of the train/bus/etc.
getter/setter pair
- zone ↔ String?
-
The zone of boarding within the platform.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited