CreateTopicRuleDestinationResponse.fromJson constructor

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

Implementation

factory CreateTopicRuleDestinationResponse.fromJson(
    Map<String, dynamic> json) {
  return CreateTopicRuleDestinationResponse(
    topicRuleDestination: json['topicRuleDestination'] != null
        ? TopicRuleDestination.fromJson(
            json['topicRuleDestination'] as Map<String, dynamic>)
        : null,
  );
}