GoogleAnalyticsAdminV1alphaChangeHistoryChange.fromJson constructor

GoogleAnalyticsAdminV1alphaChangeHistoryChange.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaChangeHistoryChange.fromJson(core.Map _json)
    : this(
        action: _json.containsKey('action')
            ? _json['action'] as core.String
            : null,
        resource: _json.containsKey('resource')
            ? _json['resource'] as core.String
            : null,
        resourceAfterChange: _json.containsKey('resourceAfterChange')
            ? GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource
                .fromJson(_json['resourceAfterChange']
                    as core.Map<core.String, core.dynamic>)
            : null,
        resourceBeforeChange: _json.containsKey('resourceBeforeChange')
            ? GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource
                .fromJson(_json['resourceBeforeChange']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );