Google celebrates Hispanic Heritage Month. See how.

onDemand method

*[<Null safety>](*

void onDemand (String name, OnDemandRootFn rootNodeCallback)

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

If methods on this class are called multiple times with the same name, a unique number will be appended to the name.


void onDemand(String name, OnDemandRootFn rootNodeCallback);