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