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