Result<T>.failure constructor
const
Result<T>.failure ([
- Object? failure,
- StackTrace? stackTrace
Creates a Failure result.
Implementation
const factory Result.failure([
Object? failure,
StackTrace? stackTrace,
]) = Failure<T>._;