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