Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 library; | |
| 2 import self as self; | |
| 3 import "dart:core" as core; | |
| 4 | |
| 5 class Foo extends core::Object { | |
| 6 final field dynamic index; | |
| 7 static const field dynamic ec1 = const self::Foo::•(0); | |
| 8 static const field dynamic ec2 = const self::Foo::•(1); | |
| 9 static const field dynamic values = const <dynamic>[self::Foo::ec1, self::Foo: :ec2]; | |
| 10 const constructor •(core::int index) → void | |
| 11 : self::Foo::index = index, super core::Object::•() | |
| 12 ; | |
| 13 method toString() → core::String | |
| 14 return const <dynamic, dynamic>{0: "Foo.ec1", 1: "Foo.ec2"}.[](this.index); | |
|
ahe
2016/06/20 17:27:26
This looks a bit odd, but I assume this is to simp
| |
| 15 } | |
| OLD | NEW |