core.Map<core.String, core.dynamic> toJson() => { if (legacyCompatible != null) 'legacyCompatible': legacyCompatible!, if (multiQuantityEnabled != null) 'multiQuantityEnabled': multiQuantityEnabled!, };