destroy method

void destroy()

Implementation

void destroy() {
  list.forEach((file, texture) {
    texture.destroy();
  });
  list.clear();
}