Returns a copy of this truncated to the TimeUnit.
LocalTime(12, 39, 59).truncate(to: TimeUnit.minutes); // 12:39
@useResult LocalTime truncate({required TimeUnit to}) => LocalTime._(_native.truncate(to: to));