LocalDate.today constructor
LocalDate.today([
- CalendarSystem? calendar
Produces a LocalDate based on your Clock.current and your DateTimeZone.local.
calendar
: The calendar system to convert into, defaults to ISO calendar
Returns: A new LocalDate with the same values as the local clock.
Implementation
factory LocalDate.today([CalendarSystem? calendar]) =>
Instant.now().inLocalZone(calendar).calendarDate;