get

fun get(): T

Retrieves the current value.

IMPORTANT: This should only be called from the main thread! If it isn't, it can race with other set() calls! Generally, you shouldn't need to call get() yourself: instead the DynamicValue should be passed into a property or Style which accepts a DynamicValue.

Return

the current value