Flight constructor

Flight({
  1. Date? departureDate,
  2. String? destination,
  3. int? flightNumber,
  4. String? operatingCarrierCode,
  5. String? origin,
})

Implementation

Flight({
  this.departureDate,
  this.destination,
  this.flightNumber,
  this.operatingCarrierCode,
  this.origin,
});