cacheEntity<O> abstract method

void cacheEntity<O>(
  1. O entity, [
  2. dynamic idGetter(
    1. O o
    )?
])

Caches entity. This is called by the entity decoder/loader. See cacheEntities.

Implementation

void cacheEntity<O>(O entity, [dynamic Function(O o)? idGetter]);