WrapperSessionScanViewConfigOptions.fromJson constructor
WrapperSessionScanViewConfigOptions.fromJson(
- Map<String, dynamic> json
)
Implementation
factory WrapperSessionScanViewConfigOptions.fromJson(Map<String, dynamic> json) => WrapperSessionScanViewConfigOptions(
defaultOrientation: wrapperSessionScanViewConfigOptionDefaultOrientationValues.map[json["defaultOrientation"]],
doneButtonConfig: json["doneButtonConfig"] == null ? null : WrapperSessionScanViewConfigOptionDoneButton.fromJson(json["doneButtonConfig"]),
label: json["label"] == null ? null : WrapperSessionScanViewConfigOptionLabel.fromJson(json["label"]),
rotateButton: json["rotateButton"] == null ? null : WrapperSessionScanViewConfigOptionRotateButton.fromJson(json["rotateButton"]),
segmentConfig: json["segmentConfig"] == null ? null : WrapperSessionScanViewConfigOptionSegmentConfig.fromJson(json["segmentConfig"]),
toolbarTitle: json["toolbarTitle"],
);