isMovableHoliday method

bool isMovableHoliday(
  1. String holidayName
)

Checks whether the given holiday is movable or not. returns true if movable else return false.

Implementation

bool isMovableHoliday(String holidayName) {
  if (_yebealTewsak.keys.contains(holidayName)) {
    return true;
  } else {
    throw BealNameException;
  }
}