isLeapYear method

  1. @override
bool isLeapYear()
override

Checks if a year is a leap year or not

Implementation

@override
bool isLeapYear() {
  return _isLeap;
}