ErrorOr<T>.value constructor
const
ErrorOr<T>.value (
- T value
Create an ErrorOr instance of type _ValueWrapper
given a value.
Implementation
const factory ErrorOr.value(T value) = _ValueWrapper<T>;