operator + method
- TimeDistance other
Implementation
TimeDistance operator +(final TimeDistance other) {
return TimeDistance(
unrestrictedTimeS: unrestrictedTimeS + other.unrestrictedTimeS,
restrictedTimeS: restrictedTimeS + other.restrictedTimeS,
unrestrictedDistanceM:
unrestrictedDistanceM + other.unrestrictedDistanceM,
restrictedDistanceM: restrictedDistanceM + other.restrictedDistanceM,
);
}