VideoContentDetailsRegionRestriction.fromJson constructor

VideoContentDetailsRegionRestriction.fromJson(
  1. Map json_
)

Implementation

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