x method Null safety
- double time
override
The position of the object in the simulation at the given time.
Implementation
@override
double x(double time) => _x + _v * math.pow(_drag, time) / _dragLog - _v / _dragLog;
The position of the object in the simulation at the given time.
@override
double x(double time) => _x + _v * math.pow(_drag, time) / _dragLog - _v / _dragLog;