RouteInstruction constructor

const RouteInstruction({
  1. required double distance,
  2. required double duration,
  3. required String instruction,
  4. required LngLat location,
})

Implementation

const RouteInstruction({
  required this.distance,
  required this.duration,
  required this.instruction,
  required this.location,
});