Result<T, E>.ok constructor
const
Result<T, E>.ok (
- T value
Constructs an OK result from the given value.
Implementation
const factory Result.ok(T value) = Ok;
Constructs an OK result from the given value.
const factory Result.ok(T value) = Ok;