DescribeDeliveryChannelsResponse.fromJson constructor

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

Implementation

factory DescribeDeliveryChannelsResponse.fromJson(Map<String, dynamic> json) {
  return DescribeDeliveryChannelsResponse(
    deliveryChannels: (json['DeliveryChannels'] as List?)
        ?.whereNotNull()
        .map((e) => DeliveryChannel.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}