40 columns | | |
>>> Empty block body. | |
f ( ) { } | |
<<< | |
f() {} | |
>>> Collapse empty body. | |
void main() { } | |
<<< | |
void main() {} | |
>>> | |
void main() { | |
} | |
<<< | |
void main() {} | |
>>> Non-empty block body. | |
f ( ) { body ; } | |
<<< | |
f() { | |
body; | |
} | |
>>> Async. | |
f ( ) async { } | |
<<< | |
f() async {} | |
>>> Sync*. | |
f ( ) sync * { } | |
<<< | |
f() sync* {} | |
>>> Async*. | |
f ( ) async * { } | |
<<< | |
f() async* {} |