HttpInfo.error constructor
HttpInfo.error(
- String error
Implementation
factory HttpInfo.error(String error) {
return HttpInfo(null, '')
..error = error
..response.update(-1, '', '', 0);
}
factory HttpInfo.error(String error) {
return HttpInfo(null, '')
..error = error
..response.update(-1, '', '', 0);
}