Skip to content

Commit a10c3b1

Browse files
committed
rename var
1 parent f58820d commit a10c3b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/utils/camel_case.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ extension StringExt on String {
1414
}
1515

1616
List<String> _intoWords(String path) {
17-
final _symbolMap = [
17+
final _symbols = [
1818
' ',
1919
'.',
2020
'/',
@@ -33,7 +33,7 @@ List<String> _intoWords(String path) {
3333
? null
3434
: String.fromCharCode(path.codeUnitAt(i + 1));
3535

36-
if (_symbolMap.contains(char)) {
36+
if (_symbols.contains(char)) {
3737
continue;
3838
}
3939

@@ -42,7 +42,7 @@ List<String> _intoWords(String path) {
4242
final isEndOfWord = nextChar == null ||
4343
(_upperAlphaRegex.hasMatch(nextChar) &&
4444
path.contains(_lowerAlphaRegex)) ||
45-
_symbolMap.contains(nextChar);
45+
_symbols.contains(nextChar);
4646

4747
if (isEndOfWord) {
4848
words.add(buffer.toString());

0 commit comments

Comments
 (0)