update method
Runs one frame of seconds real seconds in the isolate: what a view
pacing a handle opened with ownsClock: false calls once a frame. The
steps it runs publish as they do on the isolate's own clock.
Throws a StateError on a handle whose isolate keeps its own clock: two clocks would step the world twice as fast.
Implementation
void update(double seconds) {
if (ownsClock) {
throw StateError(
'this simulation keeps its own clock; open it with ownsClock: false '
'to step it by advance',
);
}
if (_disposed) return;
_link.send(<Object?>[LinkWords.advance, seconds]);
}