Example 1: dart try-catch try { // ... } on SomeException catch(e) { //Handle exception of type SomeException } catch(e) { //Handle all other exceptions } ...
確定! 回上一頁