plus method
Returns a copy of this with the time units added, wrapping around midnight.
LocalTime(12).plus(hours: -1, minutes: 1); // 11:01
LocalTime(20).plus(hours: 8); // 04:00
Implementation
@useResult LocalTime plus({int hours = 0, int minutes = 0, int seconds = 0, int milliseconds = 0, int microseconds = 0}) =>
LocalTime._(_native.plus(
hours: hours,
minutes: minutes,
seconds: seconds,
milliseconds: milliseconds,
microseconds: microseconds,
));