fromJson static method Null safety
- dynamic jsonObject
Implementation
static LivenessErrorException? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = new LivenessErrorException();
result.errorCode = jsonObject["errorCode"];
result.message = jsonObject["message"];
return result;
}