Unverified Commit ffbf69cc authored by Riley Porter's avatar Riley Porter Committed by GitHub

Ignore analyzer implict dynamic checks for js_util generic return type (#92271)

parent 2d8b8e12
......@@ -75,6 +75,7 @@ void _setTestMode(_TestMode? mode) {
// Keep as null.
break;
}
// ignore: implicit_dynamic_function
js_util.callMethod(
html.window,
'_flutter_internal_update_experiment',
......
......@@ -237,12 +237,14 @@ void main() {
KeyboardEvent dispatchKeyboardEvent(
EventTarget target, String type, Map<String, dynamic> args) {
// ignore: implicit_dynamic_function
final Object jsKeyboardEvent = js_util.getProperty(window, 'KeyboardEvent') as Object;
final List<dynamic> eventArgs = <dynamic>[
type,
args,
];
// ignore: implicit_dynamic_function
final KeyboardEvent event = js_util.callConstructor(
jsKeyboardEvent, js_util.jsify(eventArgs) as List<dynamic>)
as KeyboardEvent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment