statusCode method
Implementation
int statusCode() {
if(isEmpty) {
return -1;
}
var error = this['error'];
if(error != null) {
return error['code'];
}
var data = this['data']['response']['status'];
return data;
}
int statusCode() {
if(isEmpty) {
return -1;
}
var error = this['error'];
if(error != null) {
return error['code'];
}
var data = this['data']['response']['status'];
return data;
}