Result<T>.value constructor
- T value
Creates a Result
holding a value.
Alias for ValueResult.new.
Implementation
factory Result.value(T value) = ValueResult<T>;
Creates a Result
holding a value.
Alias for ValueResult.new.
factory Result.value(T value) = ValueResult<T>;