GoogleAnalyticsAdminV1alphaAuditUserLink.fromJson constructor

GoogleAnalyticsAdminV1alphaAuditUserLink.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaAuditUserLink.fromJson(core.Map _json)
    : this(
        directRoles: _json.containsKey('directRoles')
            ? (_json['directRoles'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        effectiveRoles: _json.containsKey('effectiveRoles')
            ? (_json['effectiveRoles'] as core.List)
                .map<core.String>((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,
      );