nullAsEmpty

inline fun <T, E> ResourceState<T, E>?.nullAsEmpty(): ResourceState<T, E>