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