Result<T>.value constructor

Result<T>.value(
  1. T value
)

Creates a Result holding a value.

Alias for ValueResult.new.

Implementation

factory Result.value(T value) = ValueResult<T>;