Answers for "check exception type flutter"

7

check exception type flutter

try {
  // ...
} on SomeException catch(e) {
 //Handle exception of type SomeException
} catch(e) {
 //Handle all other exceptions
}
Posted by: Guest on December-09-2020

Code answers related to "Dart"

Browse Popular Code Answers by Language