subtractMinutes method
Subtracts the specified number of minutes from the current DateTime.
Args: minutes (int): The number of minutes to subtract.
Returns: DateTime: A new DateTime object with the subtracted minutes.
Implementation
@useResult
DateTime subtractMinutes(int minutes) {
if (minutes == 0) {
return this;
}
return Jiffy.parseFromDateTime(this).subtract(minutes: minutes).dateTime;
}