| Index: lib/core/stopwatch.dart
|
| ===================================================================
|
| --- lib/core/stopwatch.dart (revision 12500)
|
| +++ lib/core/stopwatch.dart (working copy)
|
| @@ -5,7 +5,8 @@
|
| /**
|
| * A simple [Stopwatch] interface to measure elapsed time.
|
| */
|
| -abstract class Stopwatch {
|
| +interface Stopwatch default StopwatchImplementation {
|
| +
|
| /**
|
| * Creates a [Stopwatch] in stopped state with a zero elapsed count.
|
| *
|
| @@ -14,7 +15,7 @@
|
| *
|
| * Stopwatch stopwatch = new Stopwatch()..start();
|
| */
|
| - factory Stopwatch() => new StopwatchImplementation();
|
| + Stopwatch();
|
|
|
| /**
|
| * Starts the [Stopwatch]. The [elapsed] count is increasing monotonically.
|
|
|