addDisposeCallbacks method

void addDisposeCallbacks(
  1. List<DisposeHandler> callbacks
)

添加多个销毁回调

Implementation

void addDisposeCallbacks(List<DisposeHandler> callbacks) {
  _checkDisposed();
  _disposeHandlers.addAll(callbacks);
}