uninstall method

  1. @override
void uninstall()

Tear down the hook (test isolation).

Implementation

@override
void uninstall() {
  // The MagicNetworkInterceptor contract has no removal path in V1.
  // We disarm the interceptor instead ; recording becomes a no-op.
  _interceptor?._disarmed = true;
  _interceptor = null;
}