EveryDueDayMonth constructor

const EveryDueDayMonth(
  1. int dueDay
)

Returns a EveryDueDayMonth with the given dueDay. When you call next or previous on this EveryDueDayMonth, it will return the dueDay of the next or previous month.

Implementation

const EveryDueDayMonth(super.dueDay)
    : assert(
        (dueDay >= 1) && (dueDay <= 31),
        'Due day must be between 1 and 31',
      ),
      super();