CustomViewabilityMetric.fromJson constructor

CustomViewabilityMetric.fromJson(
  1. Map json_
)

Implementation

CustomViewabilityMetric.fromJson(core.Map json_)
    : this(
        configuration: json_.containsKey('configuration')
            ? CustomViewabilityMetricConfiguration.fromJson(
                json_['configuration'] as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );