We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f58820d commit a10c3b1Copy full SHA for a10c3b1
lib/src/utils/camel_case.dart
@@ -14,7 +14,7 @@ extension StringExt on String {
14
}
15
16
List<String> _intoWords(String path) {
17
- final _symbolMap = [
+ final _symbols = [
18
' ',
19
'.',
20
'/',
@@ -33,7 +33,7 @@ List<String> _intoWords(String path) {
33
? null
34
: String.fromCharCode(path.codeUnitAt(i + 1));
35
36
- if (_symbolMap.contains(char)) {
+ if (_symbols.contains(char)) {
37
continue;
38
39
@@ -42,7 +42,7 @@ List<String> _intoWords(String path) {
42
final isEndOfWord = nextChar == null ||
43
(_upperAlphaRegex.hasMatch(nextChar) &&
44
path.contains(_lowerAlphaRegex)) ||
45
- _symbolMap.contains(nextChar);
+ _symbols.contains(nextChar);
46
47
if (isEndOfWord) {
48
words.add(buffer.toString());
0 commit comments