asDataResult

fun <R> Result<R>.asDataResult(): DataResult<R>
fun <R : Any> R?.asDataResult(error: String): DataResult<R>