instance property
The singleton instance of ModulesManager.
Implementation
@Deprecated('Use EasyDI instead')
static ModulesManager get instance => _instance ??= ModulesManager();
Sets the singleton instance of ModulesManager.
This is used for testing purposes to set a mock instance.
Implementation
@visibleForTesting
static set instance(ModulesManager value) => _instance = value;