isDone method

  1. @override
bool isDone (double time)
override

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

Implementation

@override
bool isDone(double time) {
  return time >= _duration;
}