CustomViewabilityMetricConfiguration.fromJson constructor

CustomViewabilityMetricConfiguration.fromJson(
  1. Map json_
)

Implementation

CustomViewabilityMetricConfiguration.fromJson(core.Map json_)
    : this(
        audible: json_.containsKey('audible')
            ? json_['audible'] as core.bool
            : null,
        timeMillis: json_.containsKey('timeMillis')
            ? json_['timeMillis'] as core.int
            : null,
        timePercent: json_.containsKey('timePercent')
            ? json_['timePercent'] as core.int
            : null,
        viewabilityPercent: json_.containsKey('viewabilityPercent')
            ? json_['viewabilityPercent'] as core.int
            : null,
      );