valueOrEmpty

fun ERROR CLASS: Symbol not found for LiveData<kotlin/String>.valueOrEmpty(): String

Returns this LiveData's current value, or Constants.EMPTY_STRING when it has not been set.

Centralises the nullable LiveData.value read so that view-model form-building code can work with non-null strings without repeating a null check at every call site.