W3cubDocs

/Dart 2

typeArguments property

List<TypeMirror> typeArguments

An immutable list with mirrors for all type arguments for this type.

If the reflectee is an invocation of a generic class, the type arguments are the bindings of its type parameters. If the reflectee is the original declaration of a generic, it has no type arguments and this method returns an empty list. If the reflectee is not generic, then it has no type arguments and this method returns an empty list.

This list preserves the order of declaration of the type variables.

Implementation

List<TypeMirror> get typeArguments;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-mirrors/TypeMirror/typeArguments.html