Result<T, E>.ok constructor

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

Constructs an OK result from the given value.

Implementation

const factory Result.ok(T value) = Ok;