ListAlertsResponse.fromJson constructor
ListAlertsResponse.fromJson(
- Map json_
Implementation
ListAlertsResponse.fromJson(core.Map json_)
: this(
alerts: json_.containsKey('alerts')
? (json_['alerts'] as core.List)
.map((value) => Alert.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
);