Result<T>.success constructor

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

Creates a Success result.

Implementation

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