disposeInvoke method

void disposeInvoke(
  1. String identity, {
  2. String? channel,
})

Implementation

void disposeInvoke(String identity, {String? channel}) {
  final targetChannel = channel ?? _GLOBAL_CHANNEL;
  final observersInvoke = _observersInvoke[targetChannel] ?? Map();
  _observersInvoke.remove(identity);
  _observersInvoke[targetChannel] = observersInvoke;
}