minus method
Returns a copy of this with the units of time subtracted, wrapping around midnight.
OffsetTime(Offset(8), 12).minus(hours: -1); // 13:00+08:00
OffsetTime(Offset(8), 4).minus(hours: 6); // 22:00+08:00
Implementation
@useResult OffsetTime minus({int hours = 0, int minutes = 0, int seconds = 0, int milliseconds = 0, int microseconds = 0}) =>
OffsetTime._(offset, _native.minus(
hours: hours,
minutes: minutes,
seconds: seconds,
milliseconds: milliseconds,
microseconds: microseconds,
));