ErrorFailure constructor

ErrorFailure({
  1. required ErrorStatus errorStatus,
  2. required DioException error,
})

Implementation

ErrorFailure({
  required this.errorStatus,
  required this.error,
});