observeDouble

open override fun observeDouble(key: String, default: Double): Flow<Double>

Return a Flow which emits updates to a Double value associated with key if present. When no value is present for key, the returned flow will emit default. The returned flow initially emits the value at the time of collection, and will emit again on each subsequent update for key.