subtract static method
subtract methos
Implementation
static DateTime subtract(
{required DateTime date, required AgeDuration duration}) {
duration.days *= -1;
duration.months *= -1;
duration.years *= -1;
return add(date: date, duration: duration);
}