argType property

DartType get argType

Retrieves type argument, i.e. Type in Future<Type> or List<Type>

Implementation

DartType get argType {
  return (targetType as InterfaceType).typeArguments.first;
}