Result<T, E>.value constructor

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

Creates a Result that represents success.

Implementation

factory Result.value(T value) => _Value<T, E>(value);