Debian Codegraph @

tests/indent/dart.dart

raw
1 class Example {
2 String classify(int value) {
3 switch (value) {
4 case 1:
5 return "one";
6 case 2:
7 print("two");
8 return "";
9 default:
10 return "other";
11 }
12 }
13 }
14
15 var multi = '''
16 unindented
17 indented
18 ''';