fromJson static method

DetectFacesErrorException? fromJson(
  1. dynamic jsonObject
)

Implementation

static DetectFacesErrorException? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = new DetectFacesErrorException();

  result.errorCode = jsonObject["errorCode"];
  result.underlyingException =
      DetectFacesBackendException.fromJson(jsonObject["underlyingException"]);
  result.message = jsonObject["message"];

  return result;
}