attach method

void attach(
  1. Observer o
)

Implementation

void attach(Observer o) => _observers.add(o);