Disposable constructor

Disposable(
  1. dynamic callOnDispose()
)

Implementation

factory Disposable(_i2.dynamic Function() callOnDispose) =>
    _i5.callConstructor(
      _declaredDisposable,
      [_i5.allowInterop(callOnDispose)],
    );