clear method

void clear()

Removes all entries from the map.

After this, the map is empty.

Implementation

void clear() {
  frame = null;
  state.clear();
}