dispose method

void dispose()

Implementation

void dispose() {
  bitmapCache.values.forEach((element) {
    element.dispose();
  });
  bitmapCache.clear();
  pathCache.clear();
}