addMonths method

DateTime addMonths(
  1. int months
)

Implementation

DateTime addMonths(int months) => DateTime(
  year,
  month + months,
  day,
  hour,
  minute,
  second,
  millisecond,
  microsecond,
);