constResponseModel<T> static method

ResponseModel<T> constResponseModel<T>({
  1. dynamic error,
})

Implementation

static ResponseModel<T> constResponseModel<T>({dynamic error}) =>
    ResponseModel<T>(
        error: error,
        requestOptions: RequestOptions(path: ''),
        statusCode: 0,
        statusMessage: 'unknown exception',
        type: DioErrorType.unknown.toString());