isEqual method

Implementation

bool isEqual(CourierUserPreferencesTopic topic) {

  if (this == topic) return true;

  return defaultStatus == topic.defaultStatus &&
      hasCustomRouting == topic.hasCustomRouting &&
      listEquals(customRouting, topic.customRouting) &&
      status == topic.status &&
      topicId == topic.topicId &&
      topicName == topic.topicName &&
      sectionName == topic.sectionName &&
      sectionId == topic.sectionId;
}