Duration other
) Subtracts other
from this Duration and
returns the difference as a new Duration object.
Source
/**
* Subtracts [other] from this Duration and
* returns the difference as a new Duration object.
*/
Duration operator -(Duration other) {
return new Duration._microseconds(_duration - other._duration);
}