getDoubleOrDefault

fun getDoubleOrDefault(key: String, default: Double): Flow<Double>

Retrieves a Flow containing the value from the data store preferences given its key, or default otherwise.