getMixinConstraintArguments<I> abstract method
Returns the generic type arguments used by the mixin constraint I.
This method extracts the concrete type arguments supplied to a generic
constraint in the mixin’s on clause.
Type Parameters
I: The constraint type whose generic arguments should be extracted
Returns
- An Iterable of generic type arguments
- An empty iterable if:
- The constraint is not declared, or
- The constraint is non-generic
Example
mixin Cacheable on Store<User> {}
Class<Cacheable>()
.getMixinConstraintArguments<Store>(); // → [Class<User>]
Implementation
Iterable<Class> getMixinConstraintArguments<I>();