isDone method

  1. @override
bool isDone (double time)
override

Whether the simulation is "done" at the given time.

Implementation

@override
bool isDone(double time) => dx(time).abs() < tolerance.velocity;