FloodlightGroup.fromJson constructor

FloodlightGroup.fromJson(
  1. Map json_
)

Implementation

FloodlightGroup.fromJson(core.Map json_)
    : this(
        activeViewConfig: json_.containsKey('activeViewConfig')
            ? ActiveViewVideoViewabilityMetricConfig.fromJson(
                json_['activeViewConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        customVariables: json_.containsKey('customVariables')
            ? json_['customVariables'] as core.Map<core.String, core.dynamic>
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        floodlightGroupId: json_.containsKey('floodlightGroupId')
            ? json_['floodlightGroupId'] as core.String
            : null,
        lookbackWindow: json_.containsKey('lookbackWindow')
            ? LookbackWindow.fromJson(json_['lookbackWindow']
                as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        webTagType: json_.containsKey('webTagType')
            ? json_['webTagType'] as core.String
            : null,
      );