Map<String, dynamic> toMap() { return VariationDefinitionMapper.ensureInitialized() .encodeMap<VariationDefinition>(this as VariationDefinition); }