getLastDateOfMonth static method

DateTime getLastDateOfMonth()

Implementation

static DateTime getLastDateOfMonth() {
  var now = DateTime.now();

  var data = new DateTime(now.year, now.month + 1, 0);
  return data;
}