SecurityPolicyAdvancedOptionsConfig.fromJson constructor

SecurityPolicyAdvancedOptionsConfig.fromJson(
  1. Map json_
)

Implementation

SecurityPolicyAdvancedOptionsConfig.fromJson(core.Map json_)
    : this(
        jsonCustomConfig: json_.containsKey('jsonCustomConfig')
            ? SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.fromJson(
                json_['jsonCustomConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        jsonParsing: json_.containsKey('jsonParsing')
            ? json_['jsonParsing'] as core.String
            : null,
        logLevel: json_.containsKey('logLevel')
            ? json_['logLevel'] as core.String
            : null,
        userIpRequestHeaders: json_.containsKey('userIpRequestHeaders')
            ? (json_['userIpRequestHeaders'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );