AwsSnsTopicSubscription.fromJson constructor

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

Implementation

factory AwsSnsTopicSubscription.fromJson(Map<String, dynamic> json) {
  return AwsSnsTopicSubscription(
    endpoint: json['Endpoint'] as String?,
    protocol: json['Protocol'] as String?,
  );
}