Airport constructor

Airport({
  1. required String iataCode,
  2. String? icaoCode,
  3. String? name,
  4. String? city,
  5. String? cityIataCode,
  6. String? countryCode,
  7. String? terminal,
  8. String? timezone,
})

Returns a new Airport instance.

Implementation

Airport({
  required this.iataCode,
  this.icaoCode,
  this.name,
  this.city,
  this.cityIataCode,
  this.countryCode,
  this.terminal,
  this.timezone,
});