Waypoint constructor

Waypoint({
  1. required String hint,
  2. required double distance,
  3. required String name,
  4. required List location,
})

Implementation

Waypoint(
    {required this.hint,
    required this.distance,
    required this.name,
    required this.location});