Travel constructor

Travel({
  1. String? route,
  2. String? departureTime,
  3. String? journeyType,
  4. List<Legs>? legs,
})

Implementation

Travel({this.route, this.departureTime, this.journeyType, this.legs});