GoogleAnalyticsAdminV1alphaChangeHistoryEvent.fromJson constructor

GoogleAnalyticsAdminV1alphaChangeHistoryEvent.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaChangeHistoryEvent.fromJson(core.Map _json)
    : this(
        actorType: _json.containsKey('actorType')
            ? _json['actorType'] as core.String
            : null,
        changeTime: _json.containsKey('changeTime')
            ? _json['changeTime'] as core.String
            : null,
        changes: _json.containsKey('changes')
            ? (_json['changes'] as core.List)
                .map((value) =>
                    GoogleAnalyticsAdminV1alphaChangeHistoryChange.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        changesFiltered: _json.containsKey('changesFiltered')
            ? _json['changesFiltered'] as core.bool
            : null,
        id: _json.containsKey('id') ? _json['id'] as core.String : null,
        userActorEmail: _json.containsKey('userActorEmail')
            ? _json['userActorEmail'] as core.String
            : null,
      );