IsSame method

bool IsSame(
  1. Recurrence otherRecurrence
)
Checks if two recurrence objects are identical. The recurrence to compare this one to.

Implementation

bool IsSame(Recurrence otherRecurrence) {
  return (runtimeType == otherRecurrence.runtimeType &&
      _numberOfOccurrences == otherRecurrence._numberOfOccurrences &&
      _endDate == otherRecurrence._endDate &&
      _startDate == otherRecurrence._startDate);
}