withBackButton

fun LiveData<NavigationBarViewModel?>.withBackButton(): LiveData<NavigationBarViewModel?>

Converts LiveData of NavigationBarViewModel to the same type and content, except that NavigationBarViewModel.showBackButton is set to true.