VideoTargeting.fromJson constructor

VideoTargeting.fromJson(
  1. Map json_
)

Implementation

VideoTargeting.fromJson(core.Map json_)
    : this(
        excludedPositionTypes: json_.containsKey('excludedPositionTypes')
            ? (json_['excludedPositionTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        targetedPositionTypes: json_.containsKey('targetedPositionTypes')
            ? (json_['targetedPositionTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );