Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
void main() { var stock = {'apples': 12}; stock.putIfAbsent('apples', () => 50); stock.putIfAbsent('pears', () => 7); print(stock); }
{apples: 12, pears: 7}