getDouble

abstract suspend fun getDouble(scope: String, key: String, defaultValue: Double = 0.0): Double

Retrieves a Double value by key from the given scope.

Return

The stored value or defaultValue.

Parameters

scope

The storage scope name.

key

The key to look up.

defaultValue

The fallback value if the key is missing. Defaults to 0.0.