addMonths method

DateTime addMonths(
  1. int months
)

Implementation

DateTime addMonths(int months) {
  return DateTime(year, month + months, day, hour, minute, second, millisecond, microsecond);
}