FlightModel constructor

FlightModel({
  1. String? departureDate,
  2. String? departureTime,
  3. String? arrivalDate,
  4. String? arrivalTime,
  5. String? airlineCode,
  6. String? airlineName,
  7. String? airlineLogoURL,
  8. int? travelTime,
  9. String? flightCode,
  10. int? milesEarned,
  11. String? flightClass,
  12. String? flightType,
  13. String? fromAirportCode,
  14. String? fromAirportName,
  15. String? fromAirportCity,
  16. String? toAirportCode,
  17. String? toAirportName,
  18. String? toAirportCity,
  19. int? distance,
  20. String? source,
  21. int? order,
  22. String? aircraftName,
  23. 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,
});