BirthDateAttribute.withDateParts constructor

BirthDateAttribute.withDateParts(
  1. int year,
  2. int month, {
  3. int? day,
})

Implementation

BirthDateAttribute.withDateParts(int year, int month, {int? day})
    : _age = null,
      _year = year,
      _month = month,
      _day = day,
      _reset = false;