ValhallaRouteInstruction constructor

const ValhallaRouteInstruction({
  1. required double distance,
  2. required double duration,
  3. required String instruction,
  4. required LngLat location,
  5. required LngLat endInstructionLocation,
  6. String? verbalPreinstruction,
  7. String? verbalPostinstruction,
})

Implementation

const ValhallaRouteInstruction({
  required super.distance,
  required super.duration,
  required super.instruction,
  required super.location,
  required this.endInstructionLocation,
  this.verbalPreinstruction,
  this.verbalPostinstruction,
});