ApiResult<T>.failure constructor
const
ApiResult<T>.failure ({
- required String error,
Implementation
const factory ApiResult.failure({required String error}) = Failure<T>;