WrapperSessionScanStartRequest.fromJson constructor

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

Implementation

factory WrapperSessionScanStartRequest.fromJson(Map<String, dynamic> json) =>
    WrapperSessionScanStartRequest(
      platformOptions: json["platformOptions"] == null
          ? null
          : WrapperSessionScanStartPlatformOptions.fromJson(
              json["platformOptions"]),
      scanResultConfig: json["scanResultConfig"] == null
          ? null
          : WrapperSessionScanResultConfig.fromJson(json["scanResultConfig"]),
      scanViewConfigContentString: json["scanViewConfigContentString"],
      scanViewConfigPath: json["scanViewConfigPath"],
      scanViewInitializationParameters:
          json["scanViewInitializationParameters"] == null
              ? null
              : ScanViewInitializationParameters.fromJson(
                  json["scanViewInitializationParameters"]),
    );