save

open suspend override fun save(item: T)

Saves the given item in the repository and optionally in memory.

Parameters

item

The item to save.