EasyRoute constructor

EasyRoute({
  1. required String geometry,
  2. required List<Leg> legs,
  3. required String weightName,
  4. required double weight,
  5. required double duration,
  6. required double distance,
})

Implementation

EasyRoute({
  required this.geometry,
  required this.legs,
  required this.weightName,
  required this.weight,
  required this.duration,
  required this.distance,
});