dispose method

void dispose()

Disposes the atlas and all its sub-textures.

Implementation

void dispose() {
  _atlasTexture?.dispose();
  _subTextures?.clear();
  _subTexturesNames?.clear();
}