toJson method
Implementation
Map<String, dynamic> toJson() {
final subscriptionStatus = this.subscriptionStatus;
final topicName = this.topicName;
return {
'SubscriptionStatus': subscriptionStatus.toValue(),
'TopicName': topicName,
};
}