isGenTypeName method
is without any nullability signs. can be private or public.
Implementation
bool isGenTypeName() {
if (isEmpty || trim() != this || contains(' ')) return false;
if (endsWith('?')) return false;
return true;
}
is without any nullability signs. can be private or public.
bool isGenTypeName() {
if (isEmpty || trim() != this || contains(' ')) return false;
if (endsWith('?')) return false;
return true;
}