WrapperSessionScanResultConfig.fromJson constructor

WrapperSessionScanResultConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory WrapperSessionScanResultConfig.fromJson(Map<String, dynamic> json) =>
    WrapperSessionScanResultConfig(
      callbackConfig: json["callbackConfig"] == null
          ? null
          : WrapperSessionScanResultCallbackConfig.fromJson(
              json["callbackConfig"]),
      cleanStrategy: wrapperSessionScanResultCleanStrategyConfigValues
          .map[json["cleanStrategy"]],
      imageContainer: json["imageContainer"] == null
          ? null
          : ExportedScanResultImageContainer.fromJson(json["imageContainer"]),
      imageParameters: json["imageParameters"] == null
          ? null
          : ExportedScanResultImageParameters.fromJson(
              json["imageParameters"]),
    );