Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1344)

Unified Diff: runtime/observatory/lib/src/repositories/flag.dart

Issue 2345023003: Use dartfmt on Observatory code (Closed)
Patch Set: merge Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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']);
}
}
« no previous file with comments | « runtime/observatory/lib/src/repositories/field.dart ('k') | runtime/observatory/lib/src/repositories/function.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698