isLeapYear property

bool get isLeapYear

True if this date is on a leap year.

Implementation

bool get isLeapYear => func.isLeapYear(year);