Flight constructor

Flight({
  1. DateTime? endDate,
  2. String? rateOrCost,
  3. DateTime? startDate,
  4. String? units,
})

Implementation

Flight({
  this.endDate,
  this.rateOrCost,
  this.startDate,
  this.units,
});