clear method

void clear()

Clear all frames.

Implementation

void clear() {
  _frames = [];
  _index = 0;
}