endOfMonth property

DateTime get endOfMonth

Implementation

DateTime get endOfMonth => DateTime(
  value.year,
  value.month + 1,
  1,
).subtract(const Duration(milliseconds: 1));