toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final defaultSubscriptionStatus = this.defaultSubscriptionStatus;
  final displayName = this.displayName;
  final topicName = this.topicName;
  final description = this.description;
  return {
    'DefaultSubscriptionStatus': defaultSubscriptionStatus.toValue(),
    'DisplayName': displayName,
    'TopicName': topicName,
    if (description != null) 'Description': description,
  };
}