getCachedEntities<O> method

Map<dynamic, Object>? getCachedEntities<O>({
  1. Type? type,
})

Returns the cached entities of type.

Implementation

Map<dynamic, Object>? getCachedEntities<O>({Type? type}) {
  type ??= O;
  var typeEntities = _entities[type];
  return typeEntities != null ? UnmodifiableMapView(typeEntities) : null;
}