BatchDeleteAlertsResponse.fromJson constructor

BatchDeleteAlertsResponse.fromJson(
  1. Map json_
)

Implementation

BatchDeleteAlertsResponse.fromJson(core.Map json_)
    : this(
        failedAlertStatus: json_.containsKey('failedAlertStatus')
            ? (json_['failedAlertStatus']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  Status.fromJson(
                      value 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,
      );