removeListener static method

void removeListener(
  1. int? id
)

删除监听器

Implementation

static void removeListener(int? id) {
  if (id != null) {
    _events.remove(id);
  }
  _subscription?.cancel();
}