firstDayOfMonth property

  1. @useResult
LocalDateTime get firstDayOfMonth

The first day of the month.

LocalDateTime(2023, 4, 11, 12, 30).firstDayOfMonth; // 2023-04-01 00:00

Implementation

@useResult LocalDateTime get firstDayOfMonth => LocalDateTime._(_native.firstDayOfMonth);