equal method

bool equal(
  1. DateTime d
)

Implementation

bool equal(DateTime d) =>
    this.day == d.day && this.month == d.month && this.year == d.year;