Inspect class

*<Null safety>*

Constructors

Inspect ()

Returns a singleton Inspect instance at root.inspect
factory

Inspect.forTesting (FakeVmoHolder vmo, String name)

Returns a new Inspect object at .inspect backed by a fake VMO intended for unit testing inspect integrations, so that they can run as host tests.
factory

Inspect.named (String name)

Returns a new Inspect object at .inspect If called multiple times with the same name within a process, a unique number will be appended, though any existing file will be overwritten. ...
factory

Properties

hashCode → int

The hash code for this object. ...
read-only, inherited

health → HealthNode

The health Node of this Inspect tree. ...
read-only

rootNode?

The root Node of this Inspect tree. ...
read-only

runtimeType → Type

A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...
inherited

toString() String

Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator. ...
inherited

Static Properties

nameToInstanceCount ↔ Map<String, int>?

Maps an inspect instance name to the number of instantiations of that inspector. Used to deduplicate requests for similarly named inspectors.
read / write

Static Methods

configure({int? vmoSizeBytes}) void

Optionally configure global settings for inspection. ...

onDemand(String name, OnDemandRootFn rootNodeCallback) void

Mounts an Inspect file at .inspect whose contents are dynamically created by rootNodeCallback on each read. ...