@ -39,13 +39,4 @@ inline fun <T> Resource<T>.onSuccessWithData(onSuccess: (data: T) -> Unit): Reso
onSuccess(t)
}
return this
val <T> Resource<T>?.isFailed
get() = this != null && this.isError
val <T> Resource<T>?.isSucceeded
get() = this != null && this.isSuccess
val <T> Resource<T>?.inLoading
get() = this != null && this.isLoading