BatchUndeleteAlertsResponse.fromJson constructor

BatchUndeleteAlertsResponse.fromJson(
  1. Map _json
)

Implementation

BatchUndeleteAlertsResponse.fromJson(core.Map _json)
    : this(
        failedAlertStatus: _json.containsKey('failedAlertStatus')
            ? (_json['failedAlertStatus']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, item) => core.MapEntry(
                  key,
                  Status.fromJson(
                      item as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        successAlertIds: _json.containsKey('successAlertIds')
            ? (_json['successAlertIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );