Date.today constructor

Date.today()

Implementation

factory Date.today() {
  var now = TimeStamp.now();
  var baseType = now.value;
  return Date(day: baseType.day, month: baseType.month, year: baseType.year);
}