Site.fromJson constructor

Site.fromJson(
  1. Map json_
)

Implementation

Site.fromJson(core.Map json_)
    : this(
        autoAdsEnabled: json_.containsKey('autoAdsEnabled')
            ? json_['autoAdsEnabled'] as core.bool
            : null,
        domain: json_.containsKey('domain')
            ? json_['domain'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        reportingDimensionId: json_.containsKey('reportingDimensionId')
            ? json_['reportingDimensionId'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );