unsubscribeFrom method

  1. @protected
Future<void> unsubscribeFrom(
  1. Id id,
  2. WinEvent event
)

Notifies the plugin that events that the pattern id + event can be ignored.

Implementation

@protected
Future<void> unsubscribeFrom(Id id, WinEvent event) async {
  await _channel.invokeMethod("unsubscribeFrom", {
    "id": id,
    "event": event.code,
  });
}