Segment constructor
Segment({})
Returns a new Segment instance.
Implementation
Segment({
this.origin,
this.destination,
this.departureAt,
this.arrivalAt,
this.durationMinutes,
this.marketingCarrier,
this.marketingFlightNumber,
this.operatingCarrier,
this.operatingFlightNumber,
this.aircraft,
this.stops = const [],
this.isCodeshare,
});