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