ProviderOf constructor
const
ProviderOf(})
Creates the reason: the module provides role, which requiredBy
needs.
Implementation
const ProviderOf(
this.role,
this.requiredBy, {
this.chosen = false,
this.alternatives = const [],
});