isDone method Null safety
- double time
override
Whether the simulation is "done" at the given time.
Implementation
@override
bool isDone(double time) {
return dx(time).abs() < tolerance.velocity;
}
Whether the simulation is "done" at the given time.
@override
bool isDone(double time) {
return dx(time).abs() < tolerance.velocity;
}