qualifiedName property

String get qualifiedName

Returns the name of this qualified with the class name if it's a MethodElement.

Implementation

String get qualifiedName {
  if (this is FunctionElement) {
    return name;
  }

  if (this is MethodElement) {
    return '${enclosingElement.name}.$name';
  }

  throw UnsupportedError(
    'Not sure how to support typeof $runtimeType',
  );
}