Recurrence property

Recurrence? get Recurrence
Gets or sets the recurrence pattern for this appointment. Available recurrence pattern classes include Recurrence.DailyPattern, Recurrence.MonthlyPattern and Recurrence.YearlyPattern.

Implementation

complex.Recurrence? get Recurrence =>
    PropertyBag[AppointmentSchema.Recurrence] as complex.Recurrence?;
set Recurrence (Recurrence? value)

Implementation

set Recurrence(complex.Recurrence? value) {
  if (value != null) {
    if (value.IsRegenerationPattern) {
      throw ServiceLocalException(
        "Strings.RegenerationPatternsOnlyValidForTasks",
      );
    }
  }

  PropertyBag[AppointmentSchema.Recurrence] = value;
}