Index: samples/tests/samples/lib/layout/grid_layout_demo.dart |
diff --git a/samples/tests/samples/lib/layout/grid_layout_demo.dart b/samples/tests/samples/lib/layout/grid_layout_demo.dart |
index 27a6143efe221d1a10d0d0f16dc15c31ad6fe860..0af90b698605b7566398c27277fb8bfa6aad1570 100644 |
--- a/samples/tests/samples/lib/layout/grid_layout_demo.dart |
+++ b/samples/tests/samples/lib/layout/grid_layout_demo.dart |
@@ -11,7 +11,7 @@ View createGrid(Map<String, Map<String, String>> styles) { |
final gridStyle = styles['#grid']; |
final children = new List<MockView>(); |
- for (final String id in styles.getKeys()) { |
+ for (final String id in styles.keys) { |
// All selectors in this test are id selectors string the # prefix. |
assert(id.startsWith('#')); |
String elemId = id.substring(1); |
@@ -34,7 +34,7 @@ void _onLoad() { |
printMetrics(query); |
} else { |
final html = new StringBuffer(); |
- for (String ex in GridExamples.styles.getKeys()) { |
+ for (String ex in GridExamples.styles.keys) { |
html.add('<div><a href="?q=$ex">Grid Example $ex</a></div>'); |
} |
document.body.innerHTML = html.toString(); |