Flights constructor
Flights({ - String? id,
- String? departureDate,
- String? departureTime,
- String? arrivalDate,
- String? arrivalTime,
- String? airlineName,
- String? airlineLogoURL,
- String? flightCode,
- int? milesEarned,
- String? flightClass,
- String? flightType,
- String? flightOptionId,
- String? createdAt,
- String? updatedAt,
- List<Airports>? fromAirport,
- List<Airports>? toAirport,
- String? travelTime,
- String? aircraftName,
- int? layoverDuration,
- String? airlineCode,
})
Implementation
Flights(
{this.id,
this.departureDate,
this.departureTime,
this.arrivalDate,
this.arrivalTime,
this.airlineName,
this.airlineLogoURL,
this.flightCode,
this.milesEarned,
this.flightClass,
this.flightType,
this.flightOptionId,
this.createdAt,
this.updatedAt,
this.fromAirport,
this.toAirport,
this.travelTime,
this.aircraftName,
this.layoverDuration,
this.airlineCode,
});