From 5fe43ffc6e9c46a370172268aafa95f71b4d3715 Mon Sep 17 00:00:00 2001 From: ductung Date: Thu, 27 Jun 2024 10:55:40 +0700 Subject: [PATCH] fix allowInterop could not be found in vm --- lib/src/js_util.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/js_util.dart b/lib/src/js_util.dart index 96579f4..7cd3c69 100644 --- a/lib/src/js_util.dart +++ b/lib/src/js_util.dart @@ -103,3 +103,7 @@ Future promiseToFuture(jsPromise) { void setProperty(o, name, value) { throw UnimplementedError(); } + +F allowInterop(F f) { + throw UnimplementedError(); +}