isSameMonth method

bool isSameMonth(
  1. DateTime other
)

Implementation

bool isSameMonth(DateTime other) =>
    other.year == year && other.month == month;