Date.from constructor
Date.from(
- DateTime dt
Implementation
Date.from(DateTime dt)
: year = dt.year,
month = dt.month,
day = dt.day;
Date.from(DateTime dt)
: year = dt.year,
month = dt.month,
day = dt.day;