fromJson static method

LivenessParams fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

static LivenessParams fromJson(jsonObject) {
  if (jsonObject == null) return LivenessParams();
  var result = LivenessParams();
  result.testSetters = {};

  result.checkOVI = jsonObject["checkOVI"];
  result.checkMLI = jsonObject["checkMLI"];
  result.checkHolo = jsonObject["checkHolo"];
  result.checkED = jsonObject["checkED"];

  return result;
}