Inspect.forTesting constructor

*<Null safety>*

Inspect.forTesting(FakeVmoHolder vmo, String name)

Implementation

factory Inspect.forTesting(FakeVmoHolder vmo, String name) {
  final writer = VmoWriter.withVmo(vmo);
  final fileName = _nextInstanceWithName(name);
  final context = StartupContext.fromStartupInfo();
  return InspectImpl(context.outgoing.debugDir(), fileName, writer);
}