Result<T>.value constructor

Result<T>.value(T value)

Creates a Result holding a value.

Alias for ValueResult.ValueResult.

Implementation

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