FlightModel constructor
FlightModel({ - String? departureDate,
- String? departureTime,
- String? arrivalDate,
- String? arrivalTime,
- String? airlineCode,
- String? airlineName,
- String? airlineLogoURL,
- int? travelTime,
- String? flightCode,
- int? milesEarned,
- String? flightClass,
- String? flightType,
- String? fromAirportCode,
- String? fromAirportName,
- String? fromAirportCity,
- String? toAirportCode,
- String? toAirportName,
- String? toAirportCity,
- int? distance,
- String? source,
- int? order,
- String? aircraftName,
- int? layoverDuration,
})
Implementation
FlightModel({
this.departureDate,
this.departureTime,
this.arrivalDate,
this.arrivalTime,
this.airlineCode,
this.airlineName,
this.airlineLogoURL,
this.travelTime,
this.flightCode,
this.milesEarned,
this.flightClass,
this.flightType,
this.fromAirportCode,
this.fromAirportName,
this.fromAirportCity,
this.toAirportCode,
this.toAirportName,
this.toAirportCity,
this.distance,
this.source,
this.order,
this.aircraftName,
this.layoverDuration,
});