hasErrorFromResult static method
Implementation
static hasErrorFromResult(Map map) {
if (map['error'] == null) {
return;
} else {
try {
throw (DMHubError.fromJson(map['error']));
} on Exception {}
}
}
static hasErrorFromResult(Map map) {
if (map['error'] == null) {
return;
} else {
try {
throw (DMHubError.fromJson(map['error']));
} on Exception {}
}
}