Step constructor

Step({
  1. required double distance,
  2. required double duration,
  3. required int type,
  4. required String instruction,
  5. required String name,
  6. required List<int> wayPoints,
})

Implementation

Step({
    required this.distance,
    required this.duration,
    required this.type,
    required this.instruction,
    required this.name,
    required this.wayPoints,
});