метод operator ==
- Object other
override
Является ли эта Duration такой же длины, как other.
Длительности имеют одинаковую длину, если они имеют одинаковое количество микросекунд, как сообщается методом inMicroseconds.
Реализация
bool operator ==(Object other) =>
other is Duration && _duration == other.inMicroseconds;
© 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_equals.html