operator + method Null safety
- Duration other
Adds this Duration and other
and
returns the sum as a new Duration object.
Implementation
Duration operator +(Duration other) {
return Duration._microseconds(_duration + other._duration);
}
Adds this Duration and other
and
returns the sum as a new Duration object.
Duration operator +(Duration other) {
return Duration._microseconds(_duration + other._duration);
}