We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0057cba commit 9535a91Copy full SHA for 9535a91
lib/src/core/scripting_api/exposed_thing.dart
@@ -111,11 +111,6 @@ abstract interface class ExposedThing {
111
EventSubscriptionHandler handler,
112
);
113
114
- /// Assigns a [handler] function to an event with a given [name].
115
- ///
116
- /// If the event is emitted, the [handler] function will be called.
117
- void setEventHandler(String name, EventListenerHandler handler);
118
-
119
/// Informs all subscribers of an Event with the given [name] that it has
120
/// occurred.
121
///
0 commit comments