asLiveData

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

Creates an instance of LiveData with this as its value.