isValidMonth static method

bool isValidMonth(
  1. dynamic month
)

Implementation

static bool isValidMonth(dynamic month) {
  int current = Converter.toInt(month);
  return (current >= 1) && (current <= 12);
}