asLiveData

fun <T> Flow<T>.asLiveData(): LiveData<T>

Creates a LiveData that has values collected from the original Flow.