Returns true if str is in camelCase format (e.g. fooBar).
true
str
fooBar
bool isCamelCase(String str) => camelCaseReg.hasMatch(str);