GoogleAnalyticsAdminV1alphaAccountSummary.fromJson constructor

GoogleAnalyticsAdminV1alphaAccountSummary.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaAccountSummary.fromJson(core.Map _json)
    : this(
        account: _json.containsKey('account')
            ? _json['account'] as core.String
            : null,
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        propertySummaries: _json.containsKey('propertySummaries')
            ? (_json['propertySummaries'] as core.List)
                .map<GoogleAnalyticsAdminV1alphaPropertySummary>((value) =>
                    GoogleAnalyticsAdminV1alphaPropertySummary.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );