SpeedTrap class Null safety

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. [...]
read-only, inherited
overallFastestInSession int
Overall fastest speed in session = 1, otherwise 0
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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 non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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