toJson method

Map<String, dynamic> toJson()

Implementation

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