1. override
bool isDone(double time)

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

Source

@override
bool isDone(double time) {
  _stepIfNecessary(time);
  return currentSimulation.isDone(time - currentIntervalOffset);
}