save

open suspend override fun save(item: T)

Saves the given item in the DataStore.

Parameters

item

The item to save.