pageErrorChecker method
Implementation
bool pageErrorChecker(dynamic response) {
if (response != null &&
(response.statusCode == Strings.successCode ||
response.statusCode == Strings.noDataCode)) {
return false;
} else {
return true;
}
}