fromJson static method

ImageQA? fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

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

  result.dpiThreshold = jsonObject["dpiThreshold"];
  result.angleThreshold = jsonObject["angleThreshold"];
  result.focusCheck = jsonObject["focusCheck"];
  result.glaresCheck = jsonObject["glaresCheck"];
  result.colornessCheck = jsonObject["colornessCheck"];
  result.moireCheck = jsonObject["moireCheck"];
  result.expectedPass = jsonObject["expectedPass"];
  result.glaresCheckParams =
      GlaresCheckParams.fromJson(jsonObject["glaresCheckParams"]);
  result.documentPositionIndent = jsonObject["documentPositionIndent"];

  return result;
}