finalX property Null safety

double finalX

The value of x at double.infinity.

Implementation

double get finalX {
  if (_constantDeceleration == 0) {
    return _x - _v / _dragLog;
  }
  return x(_finalTime);
}