GetAnomaliesResponse.fromJson constructor
Implementation
factory GetAnomaliesResponse.fromJson(Map<String, dynamic> json) {
return GetAnomaliesResponse(
anomalies: (json['Anomalies'] as List)
.whereNotNull()
.map((e) => Anomaly.fromJson(e as Map<String, dynamic>))
.toList(),
nextPageToken: json['NextPageToken'] as String?,
);
}