subMonths method

Year subMonths(
  1. int amount
)

Subtracts an amount of months from the start of year

Implementation

Year subMonths(int amount) => startOfYear.subMonths(amount.abs()).getYear;