AddTargetedSitesRequest.fromJson constructor

AddTargetedSitesRequest.fromJson(
  1. Map json_
)

Implementation

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