isCachedEntityByID<O> abstract method

bool isCachedEntityByID<O>(
  1. dynamic id, {
  2. Type? type,
})

Returns true if an entity of type with id is cached. This includes entities cached through cacheEntity, cacheEntities and cacheEntityInstantiator.

Implementation

bool isCachedEntityByID<O>(dynamic id, {Type? type});