Result<T>.ok constructor

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

Creates an instance of Result containing a value

Implementation

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