SnsDestination.fromJson constructor

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

Implementation

factory SnsDestination.fromJson(Map<String, dynamic> json) {
  return SnsDestination(
    topicArn: json['TopicArn'] as String,
  );
}