date property
DateTime
get
date
Returns only year, month and day
Implementation
DateTime get date => DateTime(year, month, day);
Returns only year, month and day
DateTime get date => DateTime(year, month, day);