hasErrorFromResult static method

dynamic hasErrorFromResult(
  1. Map map
)

Implementation

static hasErrorFromResult(Map map) {
  if (map['error'] == null) {
    return;
  } else {
    throw (EMError.fromJson(map['error']));
  }
}