isSameDateAs method

bool isSameDateAs(
  1. DateTime other
)

Implementation

bool isSameDateAs(DateTime other) {
  return this.day == other.day &&
      this.month == other.month &&
      this.year == other.year;
}