*[<Null safety>](https://dart.dev/null-safety)*
void onDemand (String name, OnDemandRootFn rootNodeCallback)
Mounts an Inspect file at
If methods on this class are called multiple times with the same name, a unique number will be appended to the name.
Implementation
void onDemand(String name, OnDemandRootFn rootNodeCallback);