GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson constructor

GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson(core.Map _json)
    : this(
        eventDataRetention: _json.containsKey('eventDataRetention')
            ? _json['eventDataRetention'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        resetUserDataOnNewActivity:
            _json.containsKey('resetUserDataOnNewActivity')
                ? _json['resetUserDataOnNewActivity'] as core.bool
                : null,
      );