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