Result<T>.success constructor
Result<T>.success (
- T value
Factory for creating a Result instance representing a success.
Implementation
factory Result.success(T value) => Success<T>(value);