findAllMixinArguments abstract method
Retrieves all type arguments from all mixins applied to a class.
Parameters:
parentClass
: The class whose mixin arguments should be retrieved.declared
: Whether to include inherited mixins (default:true
).
Returns:
- A list of Class instances representing all mixin type arguments.
Example
final exampleClass = await loader.loadClass<MyClass>('com.example.MyClass');
final args = loader.findAllMixinArguments(exampleClass);
Implementation
List<Class> findAllMixinArguments(Class parentClass, [bool declared = true]);