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