DurationExtensions extension
- on
Methods
-
toDatetimeFromDuration(
{DateTime? dateTime}) → DateTime -
Available on Duration, provided by the DurationExtensions extension
If we pass the date time then it will append to that particular date. If we not pass the datetime then it will only return the time with the dummy date i.e(2023.0.0)