subscribe method Null safety

  1. @protected
void subscribe(
  1. Service service
)

Implementation

@protected
void subscribe(Service service) {
  service.addListener(update);
  _services.add(service);
}