isSameWith method

bool isSameWith(
  1. DateModel dateModel
)

Implementation

bool isSameWith(DateModel dateModel) {
  return year == dateModel.year &&
      month == dateModel.month &&
      day == dateModel.day;
}