clear method

void clear()

remove all items from all sprite batch maps

Implementation

void clear() {
  spriteBatchMap.forEach((asset, batch) => batch.clear());
}