Itinerary constructor

Itinerary({
  1. String? id,
  2. String? name,
  3. String? countryCode,
  4. String? category,
  5. String? logoUrl,
  6. String? description,
  7. List<FlightOffer> offers = const [],
  8. ItineraryDetails? details,
})

Returns a new Itinerary instance.

Implementation

Itinerary({
  this.id,
  this.name,
  this.countryCode,
  this.category,
  this.logoUrl,
  this.description,
  this.offers = const [],
  this.details,
});