remove method

void remove({
  1. required String eventName,
  2. required String uniqueId,
})

Implementation

void remove({
  required String eventName,
  required String uniqueId,
}) {
  final Map<String, EventEmitterListener> event_datas =
      events.putIfAbsent(eventName, () {
    return {};
  });
  event_datas.remove(uniqueId);
}