persistEntity method

Future<void> persistEntity(
  1. String key,
  2. TEntity entity
)

Implementation

Future<void> persistEntity(String key, TEntity entity) async {
  return persist(key, entity.toJson());
}