auto method Null safety

void auto(
  1. HasDisposers obs
)

Implementation

void auto(HasDisposers obs) {
  obs.registerDisposer(this.cancel);
}