ConversionCountingConfig.fromJson constructor

ConversionCountingConfig.fromJson(
  1. Map json_
)

Implementation

ConversionCountingConfig.fromJson(core.Map json_)
    : this(
        floodlightActivityConfigs:
            json_.containsKey('floodlightActivityConfigs')
                ? (json_['floodlightActivityConfigs'] as core.List)
                    .map((value) => TrackingFloodlightActivityConfig.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        postViewCountPercentageMillis:
            json_.containsKey('postViewCountPercentageMillis')
                ? json_['postViewCountPercentageMillis'] as core.String
                : null,
      );