instantiateToBounds2 abstract method
- @Deprecated('Use instantiateInterface/TypeAliasToBounds() instead')
- 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
@Deprecated('Use instantiateInterface/TypeAliasToBounds() instead')
DartType instantiateToBounds2({
ClassElement? classElement,
TypeAliasElement? typeAliasElement,
required NullabilitySuffix nullabilitySuffix,
});