play method

void play([
  1. double? startFrame
])

Implementation

void play([double? startFrame]) {
  _ensureAlive();
  if (startFrame == null) {
    ssRuntime.play(_context);
  } else {
    ssRuntime.playWithStartFrame(_context, startFrame);
  }
  // An explicit head-out: without this the slot debounces the first key as
  // "the one I already started" and a replayed animation never re-fires.
  _resetSlots();
}