ForwardRule constructor

ForwardRule(
  1. Uri url,
  2. FileSpan span, {
  3. String? prefix,
  4. Iterable<ConfiguredVariable>? configuration,
})

Creates a @forward rule that allows all members to be accessed.

Implementation

ForwardRule(this.url, this.span,
    {this.prefix, Iterable<ConfiguredVariable>? configuration})
    : shownMixinsAndFunctions = null,
      shownVariables = null,
      hiddenMixinsAndFunctions = null,
      hiddenVariables = null,
      configuration =
          configuration == null ? const [] : List.unmodifiable(configuration);