apply upcoming rule use_collection_literals_when_possible (#8649)

This commit is contained in:
Alexandre Ardhuin
2017-03-08 23:57:31 +01:00
committed by Ian Hickson
parent 906103dd10
commit 329e52c02c
32 changed files with 56 additions and 59 deletions

View File

@@ -77,7 +77,7 @@ void applyMocksToCommand(FlutterCommand command) {
/// Common functionality for tracking mock interaction
class BasicMock {
final List<String> messages = new List<String>();
final List<String> messages = <String>[];
void expectMessages(List<String> expectedMessages) {
final List<String> actualMessages = new List<String>.from(messages);