Result<ResultType>.failure constructor
const
Result<ResultType>.failure (
- AppError error
Implementation
const factory Result.failure(AppError error) = Failure;