Result<T, E>.value constructor
Result<T, E>.value (
- T value
Creates a Result that represents success.
Implementation
factory Result.value(T value) => _Value<T, E>(value);
Creates a Result that represents success.
factory Result.value(T value) => _Value<T, E>(value);