cache<T extends Entity> method
Caches the entity.
It returns entity
directly.
Implementation
@override
T cache<T extends Entity>(T entity)
=> _cache?.put(entity) ?? entity;
Caches the entity.
It returns entity
directly.
@override
T cache<T extends Entity>(T entity)
=> _cache?.put(entity) ?? entity;