findLastDateOfTheMonth static method

DateTime findLastDateOfTheMonth(
  1. DateTime dateTime
)

Implementation

static DateTime findLastDateOfTheMonth(DateTime dateTime) =>
    DateTime(dateTime.year, dateTime.month + 1, 0);