TopicPreference.fromJson constructor
Implementation
factory TopicPreference.fromJson(Map<String, dynamic> json) {
return TopicPreference(
subscriptionStatus:
(json['SubscriptionStatus'] as String).toSubscriptionStatus(),
topicName: json['TopicName'] as String,
);
}