SpeedTrap class

Constructors

SpeedTrap({required int vehicleIdx, required double speed, required int overallFastestInSession, required int driverFastestInSession})
const

Properties

driverFastestInSession int
Fastest speed for driver in session = 1, otherwise 0
final
hashCode int
The hash code for this object.
no setterinherited
overallFastestInSession int
Overall fastest speed in session = 1, otherwise 0
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double
Top speed achieved in kilometres per hour
final
vehicleIdx int
Vehicle index of the vehicle triggering speed trap
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited