observe

fun <T> observe(key: String): State<T>

Method used to observe a property of the local user

Return

the observable property as State of T

Since

1.0.4

Parameters

key

The associated key to the property to observe

T

The type of the property to observe

Throws

when the requested property is not stored by the stateStore