StringExtension extension

on

Methods

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