ResponseModel.fail constructor
ResponseModel.fail([
- DioErrorType type = DioErrorType.unknown
Implementation
factory ResponseModel.fail([DioErrorType type = DioErrorType.unknown]) {
return ResponseModel._(false, null, type);
}