removeCache method Null safety

void removeCache()

Removes the previously cached area of this display object.

Implementation

void removeCache() {
  _cache?.dispose();
}