Google is committed to advancing racial equity for Black communities. See how.

Inspect constructor

Inspect()

Returns a singleton Inspect instance at root.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;
}