ListTargetingOptionsResponse.fromJson constructor

ListTargetingOptionsResponse.fromJson(
  1. Map json_
)

Implementation

ListTargetingOptionsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        targetingOptions: json_.containsKey('targetingOptions')
            ? (json_['targetingOptions'] as core.List)
                .map((value) => TargetingOption.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );