RouteData constructor

const RouteData({
  1. required int index,
  2. required List<LatLng> points,
  3. int? distanceMeters,
  4. int? durationSeconds,
  5. int? staticDurationSeconds,
  6. TollInfo? tollInfo,
  7. LatLng? northeast,
  8. LatLng? southwest,
  9. List<RouteLegData> legs = const [],
  10. List<String> routeLabels = const [],
})

Implementation

const RouteData({
  required this.index,
  required this.points,
  this.distanceMeters,
  this.durationSeconds,
  this.staticDurationSeconds,
  this.tollInfo,
  this.northeast,
  this.southwest,
  this.legs = const [],
  this.routeLabels = const [],
});