concept try in category flutter

This is an excerpt from Manning's book Flutter in Action.
My final comment is this: you can be up and running with a new Flutter app in about an hour from a standing start. If you already do iOS or Android development on your machine, you likely have most of the tools needed already, and you can be up and running in a matter of minutes. You might as well give it a try.
Just like async and await make writing async code clearer than Future objects, there’s also a nicer way to catch errors: the try/catch block, which is common across many languages. Let’s look at that next.
try/catch blocks are especially useful with async/await operations. In the following example, the code in the try block will run no matter what. If it completes successfully (that is, without any errors), the compiler will skip the catch block and just keep going with the other code as expected. The catch block is a fail-safe that will be executed if there is an error in the try block.
Listing 9.6. try/catch with async calls
void main() async { try { #1 print("A"); await futrePrint(Duration(milliseconds: 1), "B") .then((status) => print(status)); print("C"); await futrePrint(Duration(milliseconds: 2), "D") .then((status) => print(status)).catchError((err) => print); print("E"); } catch(err) { #2 print("Err!! -- $err"); } }