fromJson static method

LivenessErrorException? fromJson(
  1. dynamic jsonObject
)

Implementation

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

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

  return result;
}