mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
c3bb3ddb41
The `Stopwatch` class had more states than necessary because it started with the `_start` and `_stop` fields being `null`, a state that couldn't happen later, and it had to handle those cases specially. Now just starts in a state equivalent to a stopped, reset timer. Also use ?? and ??= because they are there,and don't call the overridable `isRunning` from other methods. R=floitsch@google.com Review URL: https://codereview.chromium.org/2485063003 . |
||
---|---|---|
.. | ||
bin | ||
lib | ||
api_readme.md |