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