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