call method

ReplayFrameAtProvider call({
  1. required String gameId,
  2. required int index,
})

The GameFrame for a single replay frame index.

Memoized per (gameId, index): GameRules.parseObservation runs once per frame no matter how often the user steps back and forth across it. Timing is always empty, since a replay has no live clocks. Returns null until the frames and the version unit have both loaded, or for an out-of-range index.

Implementation

ReplayFrameAtProvider call({required String gameId, required int index}) =>
    ReplayFrameAtProvider._(
      argument: (gameId: gameId, index: index),
      from: this,
    );