Saves entity in a cache params Params that identify entity entity Data to save
params
entity
Future<void> save(P params, Entity<D> entity);