DeliveryChannel.fromJson constructor

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

Implementation

factory DeliveryChannel.fromJson(Map<String, dynamic> json) {
  return DeliveryChannel(
    configSnapshotDeliveryProperties:
        json['configSnapshotDeliveryProperties'] != null
            ? ConfigSnapshotDeliveryProperties.fromJson(
                json['configSnapshotDeliveryProperties']
                    as Map<String, dynamic>)
            : null,
    name: json['name'] as String?,
    s3BucketName: json['s3BucketName'] as String?,
    s3KeyPrefix: json['s3KeyPrefix'] as String?,
    snsTopicARN: json['snsTopicARN'] as String?,
  );
}