init method

  1. @visibleForTesting
void init()

Implementation

@visibleForTesting
void init() {
  assert(_disposeHook == null, 'Already initialized');

  _disposeHook = _hookToNotifier();
}