mirror of
https://github.com/flutter/flutter
synced 2024-10-13 19:52:53 +00:00
remove unnecessary ..toList() (#35263)
This commit is contained in:
parent
3badcf51a4
commit
9c31f9f41a
|
@ -396,9 +396,7 @@ class SampleChecker {
|
|||
if (preambleSections.isEmpty) {
|
||||
sections.add(processed);
|
||||
} else {
|
||||
sections.add(Section.combine(preambleSections
|
||||
..toList()
|
||||
..add(processed)));
|
||||
sections.add(Section.combine(preambleSections..add(processed)));
|
||||
}
|
||||
block.clear();
|
||||
} else if (trimmedLine == _dartDocPrefix) {
|
||||
|
|
Loading…
Reference in a new issue