AirlinesTicket class
- Annotations
-
- @JsonSerializable()
Constructors
- AirlinesTicket({required String productProfile, required String hoursTillDeparture, required String flightType, required String pnr, required String journeyFromTo, required String thirdPartyBooking})
-
AirlinesTicket.fromJson(Map<
String, dynamic> json) -
factory
Properties
- flightType ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hoursTillDeparture ↔ String
-
getter/setter pair
- journeyFromTo ↔ String
-
getter/setter pair
- pnr ↔ String
-
getter/setter pair
- productProfile ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thirdPartyBooking ↔ String
-
getter/setter pair
Methods
-
getFlightType(
) → String -
getHoursTillDeparture(
) → String -
getJourneyFromTo(
) → String -
getPnr(
) → String -
getProductProfile(
) → String -
getThirdPartyBooking(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFlightType(
String flightType) → void -
setHoursTillDeparture(
String hoursTillDeparture) → void -
setJourneyFromTo(
String journeyFromTo) → void -
setPnr(
String pnr) → void -
setProductProfile(
String productProfile) → void -
setThirdPartyBooking(
String thirdPartyBooking) → void -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited