StringExtension extension
- on
Methods
-
astType(
{List< AstType> generics = const <AstType>[], bool maybeNull = false, bool isCustomType = false, List<bool> genericsMaybeNull = const <bool>[]}) → AstType? -
Available on String, provided by the StringExtension extension
Convert string to 'AstType' -
capitalize(
) → String -
Available on String, provided by the StringExtension extension
String initial uppercase -
suffix(
) → String -
Available on String, provided by the StringExtension extension
Convert non empty strings to lowercase and append "dots" to the beginning of the string. For example, converting "Com" to ".com"