removeObserver method

void removeObserver(
  1. Observer observer, [
  2. String? name
])

Remove observer for notification name

@param observer - who will receive notification @param name - notification name

Implementation

void removeObserver(Observer observer, [String? name]) {
  center.removeObserver(observer, name);
}