attach method

void attach({
  1. required OnLocationChanged observer,
})

Implementation

void attach({required OnLocationChanged observer}) {
  observers.add(observer);
}