reset method

void reset()

Resets the MemoryShield to its default state.

Disposes all containers and unbinds from lifecycle.

MemoryShield().reset();

Implementation

void reset() {
  disposeAll();
  unbindFromLifecycle();
  _config = const MemoryShieldConfig();
}