uniqueInstanceName property
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(
'Module must be built to access uniquified name.'
' Call build() before accessing this.');