detach method

void detach(
  1. OnLocationChanged observer
)

Implementation

void detach(OnLocationChanged observer){
  observers.remove(observer);
}