DBRRuntimeSettings.fromJson constructor
DBRRuntimeSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
DBRRuntimeSettings.fromJson(Map<String, dynamic> json) {
barcodeFormatIds = json['barcodeFormatIds'];
barcodeFormatIds_2 = json['barcodeFormatIds_2'];
expectedBarcodeCount = json['expectedBarcodeCount'];
timeout = json['timeout'];
minBarcodeTextLength = json['minBarcodeTextLength'];
minResultConfidence = json['minResultConfidence'];
binarizationModes = List<int>.from(json['binarizationModes']);
deblurModes = List<int>.from(json['deblurModes']);
deblurLevel = json['deblurLevel'];
localizationModes = List<int>.from(json['localizationModes']);
scaleDownThreshold = json['scaleDownThreshold'];
scaleUpModes = List<int>.from(json['scaleUpModes']);
textResultOrderModes = List<int>.from(json['textResultOrderModes']);
region = json['region'] != null
? new Region.fromJson(Map<String, dynamic>.from(json['region']))
: null;
furtherModes = json['furtherModes'] != null
? new FurtherModes.fromJson(
Map<String, dynamic>.from(json['furtherModes']))
: null;
}