[objective_c] Speculative fix for ArgumentError bug
diff --git a/pkgs/objective_c/lib/src/internal.dart b/pkgs/objective_c/lib/src/internal.dart
index c14f51e..7792849 100644
--- a/pkgs/objective_c/lib/src/internal.dart
+++ b/pkgs/objective_c/lib/src/internal.dart
@@ -136,7 +136,7 @@
         return p;
       }
       // ignore: avoid_catching_errors
-    } on ArgumentError {
+    } catch (_) {
       // The class is not in the user's dylib. This means the class is probably
       // part of a built-in framework. Try to load it by name instead.
     }