ListSuppressedDestinationsResponse.fromJson constructor
ListSuppressedDestinationsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ListSuppressedDestinationsResponse.fromJson(
Map<String, dynamic> json) {
return ListSuppressedDestinationsResponse(
nextToken: json['NextToken'] as String?,
suppressedDestinationSummaries: (json['SuppressedDestinationSummaries']
as List?)
?.whereNotNull()
.map((e) =>
SuppressedDestinationSummary.fromJson(e as Map<String, dynamic>))
.toList(),
);
}