GoogleAnalyticsAdminV1alphaUserLink.fromJson constructor

GoogleAnalyticsAdminV1alphaUserLink.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaUserLink.fromJson(core.Map _json)
    : this(
        directRoles: _json.containsKey('directRoles')
            ? (_json['directRoles'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        emailAddress: _json.containsKey('emailAddress')
            ? _json['emailAddress'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
      );