operator - method - Duration class - dart:core library (original) (raw)
Duration operator -(
- Duration other )
Subtracts other
from this Duration and returns the difference as a new Duration object.
Implementation
Duration operator -(Duration other) {
return Duration._microseconds(_duration - other._duration);
}