Map<String, dynamic> toJson() { final topicArn = this.topicArn; return { if (topicArn != null) 'TopicArn': topicArn, }; }