DescribeDestinationsResponse.fromJson constructor
Implementation
factory DescribeDestinationsResponse.fromJson(Map<String, dynamic> json) {
return DescribeDestinationsResponse(
destinations: (json['destinations'] as List?)
?.whereNotNull()
.map((e) => Destination.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}