enable lint prefer_single_quotes (#12665)
This commit is contained in:
committed by
GitHub
parent
b07ea41954
commit
1fce14a31c
@@ -57,7 +57,7 @@ String expandTemplate(String template, Map<String, String> values) {
|
||||
if (match.groupCount != 1)
|
||||
throw new SampleError('bad template keyword $match[0]');
|
||||
final String keyword = match[1];
|
||||
return (values[keyword] ?? "");
|
||||
return (values[keyword] ?? '');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user