David PHAM-VAN

Use list litteral

@@ -164,7 +164,7 @@ class PdfTtfFont extends PdfFont { @@ -164,7 +164,7 @@ class PdfTtfFont extends PdfFont {
164 } 164 }
165 165
166 final Runes runes = s.runes; 166 final Runes runes = s.runes;
167 - final List<int> bytes = List<int>(); 167 + final List<int> bytes = <int>[];
168 runes.forEach(bytes.add); 168 runes.forEach(bytes.add);
169 169
170 final Iterable<PdfFontMetrics> metrics = bytes.map(glyphMetrics); 170 final Iterable<PdfFontMetrics> metrics = bytes.map(glyphMetrics);