File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ linter:
36
36
- list_remove_unrelated_type
37
37
- no_adjacent_strings_in_list
38
38
- no_duplicate_case_values
39
- # non_constant_identifier_names
39
+ - non_constant_identifier_names
40
40
- null_closures
41
41
- omit_local_variable_types
42
42
- only_throw_errors
Original file line number Diff line number Diff line change @@ -55,11 +55,11 @@ Encoding requiredEncodingForCharset(String charset) =>
55
55
56
56
/// A regular expression that matches strings that are composed entirely of
57
57
/// ASCII-compatible characters.
58
- final RegExp _ASCII_ONLY = RegExp (r'^[\x00-\x7F]+$' );
58
+ final _asciiOnly = RegExp (r'^[\x00-\x7F]+$' );
59
59
60
60
/// Returns whether [string] is composed entirely of ASCII-compatible
61
61
/// characters.
62
- bool isPlainAscii (String string) => _ASCII_ONLY .hasMatch (string);
62
+ bool isPlainAscii (String string) => _asciiOnly .hasMatch (string);
63
63
64
64
/// Converts [input] into a [Uint8List] .
65
65
///
You can’t perform that action at this time.
0 commit comments