ModelFunctionTyped constructor

ModelFunctionTyped(
  1. FunctionTypedElement element,
  2. Library library,
  3. PackageGraph packageGraph
)

Implementation

ModelFunctionTyped(
    FunctionTypedElement element, Library library, PackageGraph packageGraph)
    : typeParameters = <TypeParameter>[
        for (var p in element.typeParameters)
          ModelElement.from(p, library, packageGraph),
      ],
      super(element, library, packageGraph);