ForwardRule.hide constructor
ForwardRule.hide(
- Uri url,
- FileSpan span, {
- String? prefix,
- Iterable<
ConfiguredVariable> ? configuration,
Creates a @forward
rule that allows only members not included in
hiddenMixinsAndFunctions
and hiddenVariables
to be accessed.
Implementation
ForwardRule.hide(this.url, Iterable<String> hiddenMixinsAndFunctions,
Iterable<String> hiddenVariables, this.span,
{this.prefix, Iterable<ConfiguredVariable>? configuration})
: shownMixinsAndFunctions = null,
shownVariables = null,
hiddenMixinsAndFunctions =
UnmodifiableSetView(Set.of(hiddenMixinsAndFunctions)),
hiddenVariables = UnmodifiableSetView(Set.of(hiddenVariables)),
configuration =
configuration == null ? const [] : List.unmodifiable(configuration);