SpeedSectionAlarm constructor
SpeedSectionAlarm({
- required OverlayItem entry,
- required OverlayItem exit,
- required int totalDistance,
- required int remainingDistance,
- required double speedLimit,
- 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,
});