instantiateToBounds2 abstract method
DartType
instantiateToBounds2({
- ClassElement? classElement,
- TypeAliasElement? typeAliasElement,
- required NullabilitySuffix nullabilitySuffix,
Instantiate the given generic element using the type arguments that correspond to the bounds of its type parameters.
One and only one of classElement
or typeAliasElement
must
be provided.
Implementation
DartType instantiateToBounds2({
ClassElement? classElement,
TypeAliasElement? typeAliasElement,
required NullabilitySuffix nullabilitySuffix,
});