SpeedSectionAlarm constructor

SpeedSectionAlarm({
  1. required OverlayItem entry,
  2. required OverlayItem exit,
  3. required int totalDistance,
  4. required int remainingDistance,
  5. required double speedLimit,
  6. required double speedAvg,
})

Creates a SpeedSectionAlarm.

API users should not create instances of this class directly.

Parameters

  • entry: The section entry gantry overlay item.
  • exit: The section exit gantry overlay item.
  • totalDistance: Total enforced section length, in meters.
  • remainingDistance: Remaining distance to the exit gantry, in meters.
  • speedLimit: Enforced section speed limit, in meters per second.
  • speedAvg: Running average speed since the entry gantry, in meters per second.

Implementation

SpeedSectionAlarm({
  required this.entry,
  required this.exit,
  required this.totalDistance,
  required this.remainingDistance,
  required this.speedLimit,
  required this.speedAvg,
});