Inspect constructor

*<Null safety>*

Inspect()

Implementation

factory Inspect() {
  if (_singleton == null) {
    var context = StartupContext.fromStartupInfo();
    var writer = VmoWriter.withSize(vmoSize);
    _singleton = InspectImpl(
        context.outgoing.diagnosticsDir(), 'root.inspect', writer);
  }
  return _singleton!;
}