add try catch to example; nest then in example/employees.dart