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() { Future
order = Future.delayed(Duration(seconds: 1), () { throw Exception('The kitchen is closed'); }); order.then((food) { print('Your $food is ready'); }).catchError((error) { print('Something went wrong: $error'); }); }
Something went wrong: Exception: The kitchen is closed