Result<T>.success constructor

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

A successful result with a value of type T.

Implementation

factory Result.success(T value) = _SuccessResult<T>;