subtractRound method
Subtracts val
by unit
but rounded. Supports shorthand.
Example:
subtractRound(1, 'month');
subtractRound(1, 'M');
Implementation
Day? subtractRound(int val, String unit) =>
_add(val: val, unit: unit, opposite: true, rounded: true);