uniqueInstanceName property

String get uniqueInstanceName
inherited

If this module has a parent, after build this will be a guaranteed unique name within its scope.

Implementation

String get uniqueInstanceName => hasBuilt || reserveName
    ? _uniqueInstanceName
    : throw ModuleNotBuiltException(
        this, 'Module must be built to access uniquified name.');