## Description This adds checks for the app delegate to make sure that it supports the Flutter-specific selectors before calling them, so that a non `FlutterAppDelegate` can be used for the `NSApplicationDelegate` on `NSApp`. ## Related Issues - https://github.com/flutter/flutter/issues/124829 - https://github.com/flutter/flutter/issues/127476 ## Tests - Added a test to make sure things don't crash if the app delegate isn't a `FlutterAppDelegate`.