LocalDate.now constructor
LocalDate.now()
Creates a LocalDate that represents the current date.
Implementation
factory LocalDate.now() {
final date = DateTime.now();
return LocalDate(date.year, date.month, date.day);
}