success

fun <T> success(value: T): RestResult<T>(source)

Returns an instance that encapsulates the given value as successful value.