save

open suspend override fun save(item: T)

Saves the given item in the DataStore Preferences.

Parameters

item

The item to save.