fromJson static method 
    
    
    
  Implementation
  @visibleForTesting
static LivenessResponse? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = new LivenessResponse._privateConstructor();
  result._image = _bytesFromBase64(jsonObject["image"]);
  result._liveness = LivenessStatus.getByValue(jsonObject["liveness"])!;
  result._tag = jsonObject["tag"];
  result._transactionId = jsonObject["transactionId"];
  result._estimatedAge = jsonObject["estimatedAge"];
  result._error = LivenessException.fromJson(jsonObject["error"]);
  return result;
}