We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a6cd6f commit efd75cfCopy full SHA for efd75cf
test.dart
@@ -1,26 +0,0 @@
1
-class SomeClass {
2
- final str = '';
3
- int get getter => 12;
4
- void set setter(int value) {}
5
- void method() => print('asdf');
6
-}
7
-
8
-String topLevelFn() => 'str';
9
10
-extension SomeExtension on SomeClass {
11
- void extensionMethod() => print('extension');
12
- }
13
14
-void main() {
15
- final instance = SomeClass();
16
- instance.str;
17
- instance.getter;
18
- instance.setter = 12;
19
- instance.method();
20
- topLevelFn();
21
- instance.extensionMethod();
22
- instance
23
- ..method()
24
- ..str
25
- ..getter;
26
0 commit comments