Result<T>.success constructor

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

Implementation

Result.success(T value) : this(isSuccess: true, value: value);