listen method

void listen(
  1. dynamic onChanged(
    1. Object?
    )
)

Implementation

void listen(Function(Object?) onChanged) {
  _listeners.add(onChanged);
}