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