LocalDate constructor

LocalDate({
  1. int? year,
  2. Month? month,
  3. int? day,
})

Implementation

factory LocalDate({
  $core.int? year,
  Month? month,
  $core.int? day,
}) {
  final _result = create();
  if (year != null) {
    _result.year = year;
  }
  if (month != null) {
    _result.month = month;
  }
  if (day != null) {
    _result.day = day;
  }
  return _result;
}