BaseResult<T, E>.ok constructor
BaseResult<T, E>.ok (
- T? _value
BaseResult.ok is the constructor for an ok result.
Implementation
BaseResult.ok(this._value) : state = ResultState.ok;
BaseResult.ok is the constructor for an ok result.
BaseResult.ok(this._value) : state = ResultState.ok;