TypeUtils extension
utilities for type names
should not contain white space.
- on
Methods
-
isExternalNonNullableTypeName(
) → bool - like isExternalTypeName but disallow nullable types
-
isExternalTypeName(
) → bool - can be any thing with/without nullability sign.
-
isGenClassName(
) → bool - is generated type name. starts with uppercase letter, is public.
-
isGenFieldName(
) → bool - is generated type name. starts with lowercase letter. is public.
-
isGenTypeName(
) → bool - is without any nullability signs. can be private or public.
-
isPrivate(
) → bool - starts with '_'
-
isPublic(
) → bool - not starts with '_'
-
readType(
) → ManifestType - read non-null or nullable type. for example: double or double?.