Index: runtime/observatory/lib/src/repositories/flag.dart |
diff --git a/runtime/observatory/lib/src/repositories/flag.dart b/runtime/observatory/lib/src/repositories/flag.dart |
index 0072c0e91f74ae8ce18a24e7f1f7ebbef7f553d6..b1b534993babcbf4573721e3a108b73e8869aa67 100644 |
--- a/runtime/observatory/lib/src/repositories/flag.dart |
+++ b/runtime/observatory/lib/src/repositories/flag.dart |
@@ -21,15 +21,13 @@ class FlagsRepository implements M.FlagsRepository { |
FlagsRepository(this.vm); |
- Future<Iterable<Flag>> list() async{ |
+ Future<Iterable<Flag>> list() async { |
List<Map> flags = ((await vm.getFlagList()) as S.ServiceMap)['flags']; |
return flags.map(_toFlag); |
} |
- static _toFlag(Map map){ |
- return new Flag(map['name'], |
- map['comment'], |
- map['modified'], |
- map['valueAsString']); |
+ static _toFlag(Map map) { |
+ return new Flag( |
+ map['name'], map['comment'], map['modified'], map['valueAsString']); |
} |
} |