disposeBy method

void disposeBy(
  1. Disposer disposer
)

Implementation

void disposeBy(Disposer disposer) => disposer.callOnDispose(dispose);