hasError method
Network Result Has Errors?
Implementation
bool hasError() {
if (_rawData == null || _convertedData.isEmpty) {
return true;
}
if (!_convertedData.containsKey("status")) {
return true;
}
if (_convertedData["status"] != done) {
return true;
}
return false;
}