Result<T>.success constructor

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

Factory for creating a Result instance representing a success.

Implementation

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