dispose method

  1. @override
  2. @mustCallSuper
void dispose()
inherited

Dispose all bind from the memory

Implementation

@override
@mustCallSuper
void dispose() {
  for (final key in _singletonBinds.keys) {
    var singletonBind = _singletonBinds[key]!;
    _executeDisposeImplementation(singletonBind);
  }
  _singletonBinds.clear();
}