save

open suspend override fun save(item: T)(source)

Saves the given item in the DataStore.

Parameters

item

The item to save.