fromJson static method
Implementation
static ScannerConfig? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = new ScannerConfig();
result.scenario = jsonObject["scenario"];
result.livePortrait = jsonObject["livePortrait"];
result.extPortrait = jsonObject["extPortrait"];
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"]);
result.cameraId = jsonObject["cameraId"];
return result;
}