BatchDeleteAlertsResponse.fromJson constructor
BatchDeleteAlertsResponse.fromJson(
- Map _json
Implementation
BatchDeleteAlertsResponse.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,
);