removeContactListener method Null safety

void removeContactListener(
  1. EMContactManagerListener contactListener
)

Removes the contact listener.

Param contactListener The contact listener to be removed.

Implementation

void removeContactListener(EMContactManagerListener contactListener) {
  if (_contactManagerListeners.contains(contactListener)) {
    _contactManagerListeners.remove(contactListener);
  }
}