nullAsLoading

inline fun <T, E> State<T, E>?.nullAsLoading(): State<T, E>