isExternalTypeName method

bool isExternalTypeName()

can be any thing with/without nullability sign.

can be functional type or alias type name or ...

Implementation

bool isExternalTypeName() {
  if (isEmpty || trim() != this || '?' == this) return false;
  return true;
}