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