disposer property

set disposer (Disposer? disposer)

Implementation

set disposer(Disposer? disposer) {
  _disposer = Disposer(() {
    disposer?.call();
    _identifier = null;
  });
}