Метод operator unary-
Создаёт новую Duration с противоположным направлением этой Duration.
Возвращаемая Duration имеет тот же длину, что и эта, но будет иметь противоположный знак (как указано методом isNegative), где это возможно.
Реализация
// Using subtraction helps dart2js avoid negative zeros. Duration operator -() => Duration._microseconds(0 - _duration);
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-core/Duration/operator_unary_minus.html