dispose method

void dispose()

Dispose all dependencies in the test container

Implementation

void dispose() {
  if (ZenConfig.enableDebugLogs) {
    ZenLogger.logDebug('Disposing ZenTestContainer');
  }

  // Dispose the scope
  if (!_scope.isDisposed) {
    _scope.dispose();
  }
}