operator - method
Implementation
Duration operator -(DateTime other) {
if (this <= other) {
return Duration(
milliseconds:
(other.millisecondsSinceEpoch - millisecondsSinceEpoch));
} else {
return Duration(
milliseconds:
(millisecondsSinceEpoch - other.millisecondsSinceEpoch));
}
}