GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest.fromJson constructor

GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest.fromJson(
    core.Map _json)
    : this(
        notifyNewUsers: _json.containsKey('notifyNewUsers')
            ? _json['notifyNewUsers'] as core.bool
            : null,
        requests: _json.containsKey('requests')
            ? (_json['requests'] as core.List)
                .map<GoogleAnalyticsAdminV1alphaCreateUserLinkRequest>(
                    (value) =>
                        GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
                            .fromJson(
                                value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );