isGeneric method

bool isGeneric()

Implementation

bool isGeneric() {
  return element != null && (typeArguments.isEmpty) && (element!.typeParameters.isNotEmpty);
}