maybeEvict method

bool maybeEvict(
  1. Object key,
  2. SvgTheme oldData,
  3. SvgTheme newData
)

Evicts a single entry from the cache if the oldData and newData are incompatible.

Implementation

bool maybeEvict(Object key, SvgTheme oldData, SvgTheme newData) {
  return evict(key);
}