GetConfigurationSetEventDestinationsResponse.fromJson constructor

GetConfigurationSetEventDestinationsResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetConfigurationSetEventDestinationsResponse.fromJson(
    Map<String, dynamic> json) {
  return GetConfigurationSetEventDestinationsResponse(
    eventDestinations: (json['EventDestinations'] as List?)
        ?.whereNotNull()
        .map((e) => EventDestination.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}